Neil Horman 9a6d276e85 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 <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-16 20:50:49 -07:00
..
2008-05-14 19:23:27 -05:00
2008-07-08 23:00:25 -07:00
2007-10-10 16:53:11 -07:00
2007-10-10 16:53:56 -07:00
2008-03-27 17:53:31 -07:00
2008-07-05 21:26:57 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:32:45 -07:00
2008-06-11 21:00:38 -07:00
2008-02-29 11:46:17 -08:00
2008-03-28 16:28:36 -07:00
2008-06-11 21:00:38 -07:00
2008-07-05 21:25:39 -07:00
2008-05-12 03:29:11 -07:00
2008-07-16 20:31:16 -07:00
2008-07-05 21:19:40 -07:00