diff options
author | David S. Miller <davem@davemloft.net> | 2014-03-14 22:21:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-14 22:21:04 -0400 |
commit | 4c4e4113db249c828fffb286bc95ffb255e081f5 (patch) | |
tree | ce8994f50bbedb7bf194814d0e491dc0de5d10f7 /drivers/net/bonding/bond_alb.c | |
parent | 21396689cc093f2ab7ae29c9937e94e51ae96732 (diff) | |
parent | 96a0922c2349ccfbf5583708c3602945a755c874 (diff) | |
download | blackbird-op-linux-4c4e4113db249c828fffb286bc95ffb255e081f5.tar.gz blackbird-op-linux-4c4e4113db249c828fffb286bc95ffb255e081f5.zip |
Merge branch 'alb_learning'
Veaceslav Falico says:
====================
bonding: use correct ether type for alb
There have been reports that, while using the ETH_P_LOOP ether type
(0x0060), the ether type is treated as its packet length.
To avoid that and to not break already existing apps - add new ether type
ETH_P_LOOPBACK that contains the correct id - 0x9000.
====================
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
-rw-r--r-- | drivers/net/bonding/bond_alb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index 9cf836b67b15..060b6117aeac 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c @@ -1005,7 +1005,7 @@ static void alb_send_lp_vid(struct slave *slave, u8 mac_addr[], memset(&pkt, 0, size); ether_addr_copy(pkt.mac_dst, mac_addr); ether_addr_copy(pkt.mac_src, mac_addr); - pkt.type = cpu_to_be16(ETH_P_LOOP); + pkt.type = cpu_to_be16(ETH_P_LOOPBACK); skb = dev_alloc_skb(size); if (!skb) |