]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:36:26 +0000 (09:36 -0800)
commit89c32c14c190c6113187c7c57784695701e314e4
tree22e8e7d5e424e395a9535bfc08f67574ecb6d39a
parentc11deb8d898318a2fea9a291b16a7a2b2507cc94
macvlan/macvtap: Fix unicast between macvtap interfaces in bridge mode

[ Upstream commit cb2d0f3e968bff7c6d262aca3e3ab8d4184e69b2 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/macvlan.c