]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
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)
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>

Trivial merge