ip6_gre: add ip6 erspan collect_md mode
authorWilliam Tu <u9012063@gmail.com>
Tue, 5 Dec 2017 23:15:44 +0000 (15:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Dec 2017 19:45:29 +0000 (14:45 -0500)
commitef7baf5e083c09b66af500331cbb2be0dae37468
tree5d1156aab780af8c404a5f573d4c81c97882b069
parent92425c40676d498efccae6fecdb8f8e4dcf7e4a4
ip6_gre: add ip6 erspan collect_md mode

Similar to ip6 gretap and ip4 gretap, the patch allows
erspan tunnel to operate in collect metadata mode.
bpf_skb_[gs]et_tunnel_key() helpers can make use of
it right away.

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