diff options
author | 2019-11-10 12:21:18 +0800 | |
---|---|---|
committer | 2019-11-11 14:42:38 -0800 | |
commit | 58e8494eb033eb9134989dbc52e2a236e3f8a462 (patch) | |
tree | 048d85363d5c296b2c8a58535c250d12514ddc35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lwtunnel: change to use nla_parse_nested on new options (diff) | |
download | linux-rng-58e8494eb033eb9134989dbc52e2a236e3f8a462.tar.xz linux-rng-58e8494eb033eb9134989dbc52e2a236e3f8a462.zip |
lwtunnel: get nlsize for erspan options properly
erspan v1 has OPT_ERSPAN_INDEX while erspan v2 has OPT_ERSPAN_DIR and
OPT_ERSPAN_HWID attributes, and they require different nlsize when
dumping.
So this patch is to get nlsize for erspan options properly according
to erspan version.
Fixes: b0a21810bd5e ("lwtunnel: add options setting and dumping for erspan")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Simon Horman <simon.horman@netronome.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