]> 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)
commit6b45cfda88d62899786764942a6c3d3d6c32b6a4
tree0413bf24c063f5b4e758191b3dc7ade7cad08f17
parent87df3e605a7082b7bda66a2727951a33e7c4833c
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: df0730556bbe ("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