]> 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)
commitce5e32c2b9c6235a303105a9866b251e8a8eb2f0
treed29cf61b02e8b31f41373e82e710645c768de0e9
parent37eeb5441d1b5471d62a583fe8382ac066508b66
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