]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: split alb_send_learning_packets()
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 28 Aug 2013 21:25:13 +0000 (23:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2013 20:19:43 +0000 (16:19 -0400)
commit8df5a6f3ddd43c2b9beac8c42a03a1312b07a422
tree7b516d3d2e4fe71e11ef1269ba9517c4aff066de
parentcb6a80bad543a092c0954bf6c3e122fd1bcf90a2
bonding: split alb_send_learning_packets()

Create alb_send_lp_vid(), which will handle the skb/lp creation, vlan
tagging and sending, and use it in alb_send_learning_packets().

This way all the logic remains in alb_send_learning_packets(), which
becomes a lot more cleaner and easier to understand.

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c