diff options
author | Jay Vosburgh <fubar@us.ibm.com> | 2008-11-04 03:16:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-04 03:16:50 +0100 |
commit | 6cf3f41e6c08bca6641a695449791c38a25f35ff (patch) | |
tree | a4e173960afe6712c112b3ddea1f229a695b7089 /net/netrom | |
parent | net: increase receive packet quantum (diff) | |
download | linux-6cf3f41e6c08bca6641a695449791c38a25f35ff.tar.xz linux-6cf3f41e6c08bca6641a695449791c38a25f35ff.zip |
bonding, net: Move last_rx update into bonding recv logic
The only user of the net_device->last_rx field is bonding.
This patch adds a conditional update of last_rx to the bonding special
logic in skb_bond_should_drop, causing last_rx to only be updated when
the ARP monitor is running.
This frees network device drivers from the necessity of
updating last_rx, which can have cache line thrash issues.
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions