diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2017-10-13 23:40:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-15 04:46:36 +0300 |
commit | dd6b9c2c332b40f142740d1b11fb77c653ff98ea (patch) | |
tree | 015ec7d8642ea8fa811f42c469dc193ca70dd510 /mm/slab.h | |
parent | e086101b150ae8e99e54ab26101ef3835fa9f48d (diff) | |
download | linux-dd6b9c2c332b40f142740d1b11fb77c653ff98ea.tar.xz |
macvlan: Only deliver one copy of the frame to the macvlan interface
This patch intoduces a slight adjustment for macvlan to address the fact
that in source mode I was seeing two copies of any packet addressed to the
macvlan interface being delivered where there should have been only one.
The issue appears to be that one copy was delivered based on the source MAC
address and then the second copy was being delivered based on the
destination MAC address. To fix it I am just treating a unicast address
match as though it is not a match since source based macvlan isn't supposed
to be matching based on the destination MAC anyway.
Fixes: 79cf79abce71 ("macvlan: add source mode")
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions