diff options
author | Nikolay Aleksandrov <razor@BlackWall.org> | 2013-08-01 14:54:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-01 23:42:02 (GMT) |
commit | 78a646ced88450754613573f7d1fa7cb0de14bb3 (patch) | |
tree | ff4d339878127fd2eeefbd81842b65b8c23828b5 /net/socket.c | |
parent | 71bc3b2dc5d02566afe1b23a7b72bfc8acdd04e1 (diff) | |
download | linux-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 'net/socket.c')
0 files changed, 0 insertions, 0 deletions