X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fethernet%2Fnode.c;h=21346a80658aaa7eb86b0aebead0d34fc6072bb3;hb=b46a4e69e5db18ef792415439d04a0ab22c59386;hp=214e68809ccc7236bd065f267498ed065ac4d8ed;hpb=f4f1b959c070ce462846d5666d60dc5624dd271b;p=vpp.git diff --git a/src/vnet/ethernet/node.c b/src/vnet/ethernet/node.c index 214e68809cc..21346a80658 100644 --- a/src/vnet/ethernet/node.c +++ b/src/vnet/ethernet/node.c @@ -225,7 +225,7 @@ identify_subint (ethernet_main_t * em, // A unicast packet arriving on an L3 interface must have a dmac // matching the interface mac. If interface has STATUS_L3 bit set // mac filter is already done. - if (!(*is_l2 || (ei->flags & ETHERNET_INTERFACE_FLAG_STATUS_L3))) + if (!(*is_l2 || (ei && (ei->flags & ETHERNET_INTERFACE_FLAG_STATUS_L3)))) { u64 dmacs[2]; u8 dmacs_bad[2];