[PATCH net-next 0/2] bonding: use correct ether type for alb

From: Veaceslav Falico
Date: Thu Mar 13 2014 - 07:46:43 EST


Hi,

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.


CC: Jay Vosburgh <fubar@xxxxxxxxxx>
CC: Andy Gospodarek <andy@xxxxxxxxxxxxx>
CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
CC: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
CC: Simon Wunderlich <sw@xxxxxxxxxxxxxxxxxx>
CC: Neil Jerram <Neil.Jerram@xxxxxxxxxxxxxx>
CC: Simon Horman <horms@xxxxxxxxxxxx>
CC: Arvid Brodin <Arvid.Brodin@xxxxxxxx>
CC: netdev@xxxxxxxxxxxxxxx
CC: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Veaceslav Falico <vfalico@xxxxxxxxxx>

---
drivers/net/bonding/bond_alb.c | 2 +-
include/uapi/linux/if_ether.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/