diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-06 10:49:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 09:51:19 -0700 |
commit | 6d7946bd33e29b2659504ffb3b98aa9fdb2229d8 (patch) | |
tree | cc3c057a993611462f6c491828b917c017fcf07a /net/dccp/ackvec.h | |
parent | 19a8321ccebc1db80a75d32d0235f2beb646d8f7 (diff) | |
download | kernel_samsung_crespo-6d7946bd33e29b2659504ffb3b98aa9fdb2229d8.zip kernel_samsung_crespo-6d7946bd33e29b2659504ffb3b98aa9fdb2229d8.tar.gz kernel_samsung_crespo-6d7946bd33e29b2659504ffb3b98aa9fdb2229d8.tar.bz2 |
net: fix a race in sock_queue_err_skb()
[ Upstream commit 110c43304db6f06490961529536c362d9ac5732f ]
As soon as an skb is queued into socket error 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 'net/dccp/ackvec.h')
0 files changed, 0 insertions, 0 deletions