Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
l2: skip arp term for locally originated packets
[vpp.git]
/
src
/
vnet
/
l2
/
l2_arp_term.c
diff --git
a/src/vnet/l2/l2_arp_term.c
b/src/vnet/l2/l2_arp_term.c
index
d073432
..
594ee8e
100644
(file)
--- a/
src/vnet/l2/l2_arp_term.c
+++ b/
src/vnet/l2/l2_arp_term.c
@@
-290,6
+290,9
@@
arp_term_l2bd (vlib_main_t * vm,
ethertype0 = clib_net_to_host_u16 (*(u16 *) (l3h0 - 2));
arp0 = (ethernet_arp_header_t *) l3h0;
+ if (p0->flags & VNET_BUFFER_F_LOCALLY_ORIGINATED)
+ goto next_l2_feature;
+
if (ethertype0 != ETHERNET_TYPE_ARP)
goto check_ip6_nd;