]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bonding: slight optimization for bond_xmit_roundrobin()
authordingtianhong <dingtianhong@huawei.com>
Fri, 19 Sep 2014 13:04:57 +0000 (21:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Sep 2014 19:21:00 +0000 (15:21 -0400)
commita64d044e3907b717ae3d1e3711226064b42c83f4
treee54eef6b19aae22b81635bc0439520cbe163604e
parent3fcb95a84fdb11e922cfac3b5cd3a9d96a9e9995
bonding: slight optimization for bond_xmit_roundrobin()

When the slave is the curr_active_slave, no need to check
whether the slave is active or not, it is always active.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c