From: Neil Horman Date: Thu, 17 Jul 2008 03:50:49 +0000 (-0700) Subject: core: add stat to track unresolved discards in neighbor cache X-Git-Tag: v2.6.27-rc1~969^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a6d276e85aa3d8f308fc5e8de6892daeb60ae5f;p=pandora-kernel.git core: add stat to track unresolved discards in neighbor cache in __neigh_event_send, if we have a neighbour entry which is in NUD_INCOMPLETE state, we enqueue any outbound frames to that neighbour to the neighbours arp_queue, which is default capped to a length of 3 skbs. If that queue exceeds its set length, it will drop an skb on the queue to enqueue the newly arrived skb. This results in a drop for which we have no statistics incremented. This patch adds an unresolved_discards stat to /proc/net/stat/ndisc_cache to track these lost frames. Signed-off-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed