From: Neil Horman Date: Wed, 2 Sep 2009 21:37:45 +0000 (-0700) Subject: net: drop_monitor: make last_rx timestamp private X-Git-Tag: v2.6.32-rc1~703^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5848cc096a23b80b3d15c27d72299f79caf7c517;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed