Skip to content
Commit e51a67a9 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: ip_push_pending_frames() fix



After commit 2b85a34e
(net: No more expensive sock_hold()/sock_put() on each tx)
we do not take any more references on sk->sk_refcnt on outgoing packets.

I forgot to delete two __sock_put() from ip_push_pending_frames()
and ip6_push_pending_frames().

Reported-by: default avatarEmil S Tantilov <emils.tantilov@gmail.com>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Tested-by: default avatarEmil S Tantilov <emils.tantilov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e912b114
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment