summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-12-13 09:20:24 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-16 21:43:22 +0100
commitf88a4a9b65a6f3422b81be995535d0e69df11bb8 (patch)
tree7b9875784d13030b70a0f55219afa97de437b051 /net/ipv4
parentbonding: Change active slave quietly when bond is down (diff)
downloadlinux-f88a4a9b65a6f3422b81be995535d0e69df11bb8.tar.xz
linux-f88a4a9b65a6f3422b81be995535d0e69df11bb8.zip
bonding/vlan: Fix mangled NAs on slaves without VLAN tag insertion
bond_na_send() attempts to insert a VLAN tag in between building and sending packets of the respective formats. If the slave does not implement hardware VLAN tag insertion then vlan_put_tag() will mangle the network-layer header because the Ethernet header is not present at this point (unlike in bond_arp_send()). Fix this by adding the tag out-of-line and relying on dev_hard_start_xmit() to insert it inline if necessary. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Reviewed-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions