summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorEric Dumazet2010-08-31 09:40:16 +0200
committerDavid S. Miller2010-08-31 22:37:06 +0200
commit4dc89133f49b8cfd77ba7e83f5960aed63aaa99e (patch)
tree7629fa72b5a13cbf48d43659bb396984caf7362a /net/ipv4/tcp_ipv4.c
parentpktgen: remove non used variable (diff)
downloadkernel-qcow2-linux-4dc89133f49b8cfd77ba7e83f5960aed63aaa99e.tar.gz
kernel-qcow2-linux-4dc89133f49b8cfd77ba7e83f5960aed63aaa99e.tar.xz
kernel-qcow2-linux-4dc89133f49b8cfd77ba7e83f5960aed63aaa99e.zip
net: add a comment on netdev->last_rx
As some driver authors seem to reintroduce dev->last_rx use, add a comment to strongly discourage this. Since commit 6cf3f41e6c0 (bonding, net: Move last_rx update into bonding recv logic), network drivers dont need to update last_rx themselves, unless they use this field to implement a timeout. Not updating last_rx helps not dirtying a cache line, improving performance in SMP. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions