Merge branch 'sock_hold-misuses'
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 22:06:15 +0000 (14:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 22:06:15 +0000 (14:06 -0800)
commitfa4c7fb2ad2ea5dae57eb875915d0efb1e068543
tree411965f359568a7dfd8c23d68fbb0d68e43c356e
parent146d8fef9da1ba854de7fa28b9cb9eb147535f88
parent9ac25fc063751379cb77434fef9f3b088cd3e2f7
Merge branch 'sock_hold-misuses'

Eric Dumazet says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>