Skip to content
Snippets Groups Projects
Commit 997d5c3f authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

sock: sock_dequeue_err_skb() needs hard irq safety


Non NAPI drivers can call skb_tstamp_tx() and then sock_queue_err_skb()
from hard IRQ context.

Therefore, sock_dequeue_err_skb() needs to block hard irq or
corruptions or hangs can happen.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Fixes: 364a9e93 ("sock: deduplicate errqueue dequeue")
Fixes: cb820f8e ("net: Provide a generic socket error queue delivery method for Tx time stamps.")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 846cd667
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment