[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150220.155322.301911552130546662.davem@davemloft.net>
Date: Fri, 20 Feb 2015 15:53:22 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, willemb@...gle.com
Subject: Re: [PATCH net] sock: sock_dequeue_err_skb() needs hard irq safety
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 18 Feb 2015 05:47:55 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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: Eric Dumazet <edumazet@...gle.com>
> Fixes: 364a9e93243d1 ("sock: deduplicate errqueue dequeue")
> Fixes: cb820f8e4b7f7 ("net: Provide a generic socket error queue delivery method for Tx time stamps.")
Applied and queued up for -stable, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists