[IPV6]: Consolidate the ip cork destruction in ip6_output.c
authorPavel Emelyanov <xemul@openvz.org>
Tue, 6 Nov 2007 05:04:31 +0000 (21:04 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Nov 2007 12:08:26 +0000 (04:08 -0800)
commitbf138862b162b6eaf3d7336f759f6e6485e481df
tree1f775c773e6b59663a30c58cfbc36b40013b24c6
parent429f08e950a88cd826b203ea898c2f2d0f7db9de
[IPV6]: Consolidate the ip cork destruction in ip6_output.c

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

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