diff options
author | Petr Machata <petrm@mellanox.com> | 2018-05-17 17:36:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-17 23:50:06 +0300 |
commit | 7fa38a7c852ec99e3a7fc375eb2c21c50c2e46b8 (patch) | |
tree | 6c3c5fb35d5631440cdb9b0d6a255e6b575824a7 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | a6465350ef495f5cbd76a3e505d25a01d648477e (diff) | |
download | linux-7fa38a7c852ec99e3a7fc375eb2c21c50c2e46b8.tar.xz |
net: ip6_gre: Split up ip6gre_newlink()
Extract from ip6gre_newlink() a reusable function
ip6gre_newlink_common(). The ip6gre_tnl_link_config() call needs to be
made customizable for ERSPAN, thus reorder it with calls to
ip6_tnl_change_mtu() and dev_hold(), and extract the whole tail to the
caller, ip6gre_newlink(). Thus enable an ERSPAN-specific _newlink()
function without a lot of duplicity.
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions