OSDN Git Service

ip6_gre: add ip6 gre and gretap collect_md mode
authorWilliam Tu <u9012063@gmail.com>
Fri, 1 Dec 2017 23:26:08 +0000 (15:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Dec 2017 16:04:19 +0000 (11:04 -0500)
commit6712abc168ebac90b46088b89798aa31a1bc79f9
tree43540b28583b129659baa06a62e86d18354ab654
parentc34bc2b5059c515aebc3dde4c34baba6db3fd43f
ip6_gre: add ip6 gre and gretap collect_md mode

Similar to gre, vxlan, geneve, ipip tunnels, allow ip6 gre and gretap
tunnels to operate in collect metadata mode.  bpf_skb_[gs]et_tunnel_key()
helpers can make use of it right away.  OVS can use it as well in the
future.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c