]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: support ipv4 in ipv6 and ipv6 in ipv4 tunnel forwarding
authorAlex Gartrell <agartrell@fb.com>
Tue, 9 Sep 2014 23:40:28 +0000 (16:40 -0700)
committerSimon Horman <horms@verge.net.au>
Tue, 16 Sep 2014 00:03:37 +0000 (09:03 +0900)
commit61273df1414b076f359e0e5051d71d5bee32a9e5
tree00c88663346c7b8c91eed54cf2af8fe5b7e9eb61
parentea6822a098c545c02d53af7003607b70bb143ad3
ipvs: support ipv4 in ipv6 and ipv6 in ipv4 tunnel forwarding

Pull the common logic for preparing an skb to prepend the header into a
single function and then set fields such that they can be used in either
case (generalize tos and tclass to dscp, hop_limit and ttl to ttl, etc)

Signed-off-by: Alex Gartrell <agartrell@fb.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_xmit.c