]> git.baikalelectronics.ru Git - kernel.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)
commitee4ca0c550acf59b0470ba431a9f97e8d08665b0
treee54eef6b19aae22b81635bc0439520cbe163604e
parentef82a75a78c382bf1418d0ea34a5c73f130b7d00
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