]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fad55ed332420dcc39ae129f408aa33e6f07459
tree5d1156aab780af8c404a5f573d4c81c97882b069
parent955699ab6414871cbb60250fc4348b69021a456a
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