commit | 3900f29021f0bc7fe9815aa32f1a993b7dfdd402 | [log] [tgz] |
---|---|---|
author | dingtianhong <dingtianhong@huawei.com> | Thu Jan 02 09:13:06 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 01 22:58:15 2014 -0500 |
tree | cc65a7ba5af8a6d4478122e37e202e654a338ac7 | |
parent | 4d4ac1b0927c046413f0e92c38a833335a2d7590 [diff] |
bonding: slight optimizztion for bond_slave_override() When the skb is xmit by the function bond_slave_override(), it will have duplicate judgement for slave state, and I think it will consumes a little performance, maybe it is negligible, so I simplify the function and remove the unwanted judgement. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>