bonding: Don't assume 802.1Q when sending alb learning packets.
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 21 May 2014 15:24:39 +0000 (11:24 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 19:44:58 +0000 (15:44 -0400)
commitd6b694c0b3f20c3ee54d29d4109fa1978d11a033
tree11000f1c217b756b9351a7f57350b4e44c3f85af
parenta3431acf742455ba738c9fb143802d4ad6937164
bonding: Don't assume 802.1Q when sending alb learning packets.

TLB/ALB learning packets always assume 802.1Q vlan protocol, but
that is no longer the case since we now have support for Q-in-Q
on top of bonding.  Pass the vlan protocol to alb_send_lp_vid()
so that the packets are properly tagged.

CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Acked-by: Veaceslav Falico <vfalico@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c