summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_alb.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <razor@BlackWall.org>2013-08-01 14:54:49 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-08-01 23:42:02 (GMT)
commit78a646ced88450754613573f7d1fa7cb0de14bb3 (patch)
treeff4d339878127fd2eeefbd81842b65b8c23828b5 /drivers/net/bonding/bond_alb.c
parent71bc3b2dc5d02566afe1b23a7b72bfc8acdd04e1 (diff)
downloadlinux-fsl-qoriq-78a646ced88450754613573f7d1fa7cb0de14bb3.tar.xz
bonding: simplify broadcast_xmit function
We don't need to start from the curr_active_slave as the frame will be sent to all eligible slaves anyway, so we remove the unnecessary local variables, checks and comments, and make it use the standard list API. This has the nice side-effect that later when it's converted to RCU a race condition will be avoided which could lead to double packet tx. Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
0 files changed, 0 insertions, 0 deletions