]> git.baikalelectronics.ru Git - kernel.git/commit
net: ip_push_pending_frames() fix
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 8 Jul 2009 14:20:42 +0000 (14:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Jul 2009 03:26:21 +0000 (20:26 -0700)
commite16df8b997c9608096e08a9c2836a78a40aeaae0
treed9741a14cc9134e592c37b1c235f2f13a20c261f
parenta18b4d64a8130fe673ced15742f787e6cea9a8f4
net: ip_push_pending_frames() fix

After commit 8514b872147d26cd511dd91bc60a80259f008c50
(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: Emil S Tantilov <emils.tantilov@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Emil S Tantilov <emils.tantilov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c
net/ipv6/ip6_output.c