]> git.baikalelectronics.ru Git - kernel.git/commit
net: ip6_gre: Split up ip6gre_tnl_change()
authorPetr Machata <petrm@mellanox.com>
Thu, 17 May 2018 14:36:33 +0000 (16:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 20:50:06 +0000 (16:50 -0400)
commit41fce058abfc767e1e0471d30e88fa585de3e5d9
tree0413bf24c063f5b4e758191b3dc7ade7cad08f17
parentbd864b283f78df5a2915d39242149e3de3adfff2
net: ip6_gre: Split up ip6gre_tnl_change()

Split a reusable function ip6gre_tnl_copy_tnl_parm() from
ip6gre_tnl_change(). This will allow ERSPAN-specific code to
reuse the common parts while customizing the behavior for ERSPAN.

Fixes: 318c892820e0 ("ip6_gre: Add ERSPAN native tunnel support")
Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c