netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: fix possible sock_hold() misuses
@ 2017-03-04  5:01 Eric Dumazet
  2017-03-04  5:01 ` [PATCH net 1/2] net: fix socket refcounting in skb_complete_wifi_ack() Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eric Dumazet @ 2017-03-04  5:01 UTC (permalink / raw)
  To: David S . Miller
  Cc: netdev, Willem de Bruijn, Alexander Duyck, Johannes Berg,
	Soheil Hassas Yeganeh, Eric Dumazet, Eric Dumazet

skb_complete_wifi_ack() and skb_complete_tx_timestamp() currently
call sock_hold() on sockets that might have transitioned their sk_refcnt
to zero already.

Eric Dumazet (2):
  net: fix socket refcounting in skb_complete_wifi_ack()
  net: fix socket refcounting in skb_complete_tx_timestamp()

 net/core/skbuff.c | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

-- 
2.12.0.rc1.440.g5b76565f74-goog

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-07 22:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-04  5:01 [PATCH net 0/2] net: fix possible sock_hold() misuses Eric Dumazet
2017-03-04  5:01 ` [PATCH net 1/2] net: fix socket refcounting in skb_complete_wifi_ack() Eric Dumazet
2017-03-04  5:43   ` Soheil Hassas Yeganeh
2017-03-04  5:01 ` [PATCH net 2/2] net: fix socket refcounting in skb_complete_tx_timestamp() Eric Dumazet
2017-03-04  5:43   ` Soheil Hassas Yeganeh
2017-03-07 22:06 ` [PATCH net 0/2] net: fix possible sock_hold() misuses David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).