]> 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)
commit62c285a1da742818c28c2dab2d74dc2d7431c6aa
treee54eef6b19aae22b81635bc0439520cbe163604e
parent83a503ac2823b8c8ff21a6e45dab1531f26586b6
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