diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-06 10:49:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-06 05:07:21 -0400 |
commit | 110c43304db6f06490961529536c362d9ac5732f (patch) | |
tree | 5729bd4310cffaea7d0e4fbe3451d26e78271179 /include | |
parent | 4a7e7c2ad540e54c75489a70137bf0ec15d3a127 (diff) |
net: fix a race in sock_queue_err_skb()
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions