]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
macvlan/macvtap: Fix unicast between macvtap interfaces in bridge mode
authorDavid Ward <david.ward@ll.mit.edu>
Sun, 18 Sep 2011 12:53:20 +0000 (12:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Oct 2011 03:31:23 +0000 (23:31 -0400)
commitcb2d0f3e968bff7c6d262aca3e3ab8d4184e69b2
tree50a3469e32de0edaf3cd764715c5f6d474f571ab
parent976d167615b64e14bc1491ca51d424e2ba9a5e84
macvlan/macvtap: Fix unicast between macvtap interfaces in bridge mode

Packets should always be forwarded to the lowerdev using dev_forward_skb.
vlan->forward is for packets being forwarded directly to another macvlan/
macvtap device (used for multicast in bridge mode).

Reported-and-tested-by: Shlomo Pongratz <shlomop@mellanox.com>
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c