[IPV4]: Consolidate the ip cork destruction in ip_output.c
authorPavel Emelyanov <xemul@openvz.org>
Tue, 6 Nov 2007 05:03:24 +0000 (21:03 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Nov 2007 12:08:25 +0000 (04:08 -0800)
commit429f08e950a88cd826b203ea898c2f2d0f7db9de
tree7ee583efb040adb192c63734516b56849d7c6c10
parente011ff48abc1b0ee97cde26b7700d2cca689e7c3
[IPV4]: Consolidate the ip cork destruction in ip_output.c

The ip_push_pending_frames and ip_flush_pending_frames do the
same things to flush the sock's cork. Move this into a separate
function and save ~80 bytes from the .text

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c