aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/rtnetlink.h
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2009-09-02 14:37:45 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-02 14:37:45 -0700
commit5848cc096a23b80b3d15c27d72299f79caf7c517 (patch)
treef43257578c3e5fc248903544c430294d914287a7 /include/net/rtnetlink.h
parent3f968de276a8e585deb182d4ba56013a479c80bc (diff)
downloadkernel_samsung_espresso10-5848cc096a23b80b3d15c27d72299f79caf7c517.zip
kernel_samsung_espresso10-5848cc096a23b80b3d15c27d72299f79caf7c517.tar.gz
kernel_samsung_espresso10-5848cc096a23b80b3d15c27d72299f79caf7c517.tar.bz2
net: drop_monitor: make last_rx timestamp private
It was recently pointed out to me that the last_rx field of the net_device structure wasn't updated regularly. In fact only the bonding driver really uses it currently. Since the drop_monitor code relies on the last_rx field to detect drops on recevie in hardware, We need to find a more reliable way to rate limit our drop checks (so that we don't check for drops on every frame recevied, which would be inefficient. This patch makes a last_rx timestamp that is private to the drop monitor code and is updated for every device that we track. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
0 files changed, 0 insertions, 0 deletions