diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-05 22:17:46 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 09:51:19 -0700 |
commit | 19a8321ccebc1db80a75d32d0235f2beb646d8f7 (patch) | |
tree | 6f013ba8b378bc033fd5c1f58e3252b40750c7fd /samples/kobject | |
parent | 589336f3c7731b608e860e984f753909b00efad7 (diff) | |
download | lwn-19a8321ccebc1db80a75d32d0235f2beb646d8f7.tar.gz lwn-19a8321ccebc1db80a75d32d0235f2beb646d8f7.zip |
netlink: fix races after skb queueing
[ Upstream commit 4a7e7c2ad540e54c75489a70137bf0ec15d3a127 ]
As soon as an skb is queued into socket receive_queue, another thread
can consume it, so we are not allowed to reference skb anymore, or risk
use after free.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions