]> 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)
commitdc837ef5897248e2d874128a3dd09eb13713137f
tree7b516d3d2e4fe71e11ef1269ba9517c4aff066de
parent2e7dcf0b0c28728c9b432b194d659cbec657c36a
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