Eric Dumazet 9d410c7960 net: fix sk_forward_alloc corruption
On UDP sockets, we must call skb_free_datagram() with socket locked,
or risk sk_forward_alloc corruption. This requirement is not respected
in SUNRPC.

Add a convenient helper, skb_free_datagram_locked() and use it in SUNRPC

Reported-by: Francis Moreau <francis.moro@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-30 12:25:12 -07:00
..
2008-10-29 12:52:50 -07:00
2009-09-14 17:03:05 -07:00
2009-09-14 17:03:05 -07:00
2008-11-25 17:35:18 -08:00
2009-09-14 17:03:05 -07:00
2009-09-14 17:03:05 -07:00
2009-09-14 17:03:05 -07:00
2009-09-02 18:05:33 -07:00
2009-09-24 15:39:22 -07:00
2009-09-14 17:03:05 -07:00
2009-10-19 21:34:20 -07:00
2009-06-03 02:51:04 -07:00
2009-08-05 10:42:58 -07:00
2009-09-14 17:03:05 -07:00
2009-09-15 01:30:10 -07:00
2009-09-14 17:03:05 -07:00
2009-10-30 12:25:12 -07:00
2009-09-14 17:03:05 -07:00
2008-11-25 17:59:52 -08:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00