diff options
author | 2020-07-23 12:29:53 +0100 | |
---|---|---|
committer | 2020-07-23 11:54:40 -0700 | |
commit | 584ca31f469dece9a83cdce33953ba23b115945c (patch) | |
tree | 1d9f7847fd13a97838af2c58bb5452cf28991a96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | l2tp: check socket address type in l2tp_dfs_seq_tunnel_show (diff) | |
download | linux-dev-584ca31f469dece9a83cdce33953ba23b115945c.tar.xz linux-dev-584ca31f469dece9a83cdce33953ba23b115945c.zip |
l2tp: cleanup netlink send of tunnel address information
l2tp_nl_tunnel_send has conditionally compiled code to support AF_INET6,
which makes the code difficult to follow and triggers checkpatch
warnings.
Split the code out into functions to handle the AF_INET v.s. AF_INET6
cases, which both improves readability and resolves the checkpatch
warnings.
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions