]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'gre-add-collect_md-mode-for-ERSPAN-tunnel'
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 22:04:52 +0000 (15:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 22:04:52 +0000 (15:04 -0700)
commit811d27c74026519928328d5ab1c7ad3c8061b95c
tree09ccc663e7a4b7a7d707dd8bfea0632cb0c3b791
parent58622aeced2a05740f215ee59bc743320c4a7939
parent0e79372b6a9409b4b693c21281b5220fdb9a4814
Merge branch 'gre-add-collect_md-mode-for-ERSPAN-tunnel'

William Tu says:

====================
gre: add collect_md mode for ERSPAN tunnel

This patch series provide collect_md mode for ERSPAN tunnel.  The fist patch
refactors the existing gre_fb_xmit function by exacting the route cache
portion into a new function called prepare_fb_xmit.  The second patch
introduces the collect_md mode for ERSPAN tunnel, by calling the
prepare_fb_xmit function and adding ERSPAN specific logic.  The final patch
adds the test case using bpf_skb_{set,get}_tunnel_{key,opt}.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>