]> Git Repo - linux.git/commit
net: fix sk_forward_alloc corruption
authorEric Dumazet <[email protected]>
Fri, 30 Oct 2009 05:03:53 +0000 (05:03 +0000)
committerDavid S. Miller <[email protected]>
Fri, 30 Oct 2009 19:25:12 +0000 (12:25 -0700)
commit9d410c796067686b1e032d54ce475b7055537138
tree4442bdbe4a4be1cce024f2e83a12b7404ef935fa
parent63ca2d74ea4f9c7a7ac082c915609a7b224908e7
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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/skbuff.h
net/core/datagram.c
net/ipv4/udp.c
net/ipv6/udp.c
net/sunrpc/svcsock.c
This page took 0.055623 seconds and 4 git commands to generate.