ipv6: pull cork initialization into its own function.
authorVlad Yasevich <vyasevich@gmail.com>
Sat, 31 Jan 2015 15:40:13 +0000 (10:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2015 03:28:04 +0000 (19:28 -0800)
commit366e41d9774d7010cb63112b6db2fce6dc7809c0
treed29cf61b02e8b31f41373e82e710645c768de0e9
parentba0c39cb98a1eec3635ae5f959fef963738d12a5
ipv6: pull cork initialization into its own function.

Pull IPv6 cork initialization into its own function that
can be re-used.  IPv6 specific cork data did not have an
explicit data structure.  This patch creats eone so that
just ipv6 cork data can be as arguemts.  Also, since
IPv6 tries to save the flow label into inet_cork_full
tructure, pass the full cork.

Adjust ip6_cork_release() to take cork data structures.

Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h
net/ipv6/ip6_output.c