Skip to content

net: fix possible sock_hold() misuses

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: fix socket refcounting in skb_complete_wifi_ack()net/core/skbuff.c+8 -71 reply
2/2net: fix socket refcounting in skb_complete_tx_timestamp()net/core/skbuff.c+8 -71 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSoheil Hassas Yeganeh
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] net: fix possible sock_hold() misuses

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(-)
Signature · 1 line
2.12.0.rc1.440.g5b76565f74-goog