diff options
author | Petr Machata <petrm@mellanox.com> | 2018-05-17 16:36:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-17 16:50:06 -0400 |
commit | a483373ead61e6079bc8ebe27e2dfdb2e3c1559f (patch) | |
tree | 5b44a0e3b07bf61d6b4868fe0d9129bde4dd4fa9 /drivers/net/geneve.c | |
parent | 5691484df961aff897d824bcc26cd1a2aa036b5b (diff) | |
download | linux-a483373ead61e6079bc8ebe27e2dfdb2e3c1559f.tar.gz linux-a483373ead61e6079bc8ebe27e2dfdb2e3c1559f.tar.bz2 linux-a483373ead61e6079bc8ebe27e2dfdb2e3c1559f.zip |
net: ip6_gre: Split up ip6gre_tnl_link_config()
The function ip6gre_tnl_link_config() is used for setting up
configuration of both ip6gretap and ip6erspan tunnels. Split the
function into the common part and the route-lookup part. The latter then
takes the calculated header length as an argument. This split will allow
the patches down the line to sneak in a custom header length computation
for the ERSPAN tunnel.
Fixes: 5a963eb61b7c ("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>
Diffstat (limited to 'drivers/net/geneve.c')
0 files changed, 0 insertions, 0 deletions