Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information