]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita52915c426b36e57519db660fc999ba2497b1ba2
treed29cf61b02e8b31f41373e82e710645c768de0e9
parent0e0a9c7f792a8a31a116f27604d866f0ac2e4661
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