summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEugene Syromiatnikov <esyr@redhat.com>2018-10-07 17:57:37 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-08 07:06:28 +0300
commitd4f0006a08f52b5320f038780286ef312535fc64 (patch)
tree7d03e7ffef08c3c779734c64bc4d4f6ba649ce2f /tools/perf/scripts/python/export-to-postgresql.py
parenta21048c8ec7caf4def353b00b75bf75535deba80 (diff)
downloadlinux-d4f0006a08f52b5320f038780286ef312535fc64.tar.xz
net/smc: retain old name for diag_mode field
Commit c601171d7a60 ("net/smc: provide smc mode in smc_diag.c") changed the name of diag_fallback field of struct smc_diag_msg structure to diag_mode. However, this structure is a part of UAPI, and this change breaks user space applications that use it ([1], for example). Since the new name is more suitable, convert the field to a union that provides access to the data via both the new and the old name. [1] https://gitlab.com/strace/strace/blob/v4.24/netlink_smc_diag.c#L165 Fixes: c601171d7a60 ("net/smc: provide smc mode in smc_diag.c") Signed-off-by: Eugene Syromiatnikov <esyr@redhat.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