net: skb_free_datagram_locked() doesnt drop all packets
authorEric Dumazet <edumazet@google.com>
Wed, 27 Jun 2012 00:23:44 +0000 (00:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 22:40:57 +0000 (15:40 -0700)
dropwatch wrongly diagnose all received UDP packets as drops.

This patch removes trace_kfree_skb() done in skb_free_datagram_locked().

Locations calling skb_free_datagram_locked() should do it on their own.

As a result, drops are accounted on the right function.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found