aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2022-03-02 18:31:19 +0200
committerDavid S. Miller <davem@davemloft.net>2022-03-03 10:37:22 +0000
commit216e690631f5c95a4bdde5d1237025edfe61bbf6 (patch)
treee79e87a9c082f0dc324b54e06d399bd10fceb43a /tools/perf/scripts/python/export-to-postgresql.py
parentnet: rtnetlink: Propagate extack to rtnl_offload_xstats_fill() (diff)
downloadlinux-dev-216e690631f5c95a4bdde5d1237025edfe61bbf6.tar.xz
linux-dev-216e690631f5c95a4bdde5d1237025edfe61bbf6.zip
net: rtnetlink: rtnl_fill_statsinfo(): Permit non-EMSGSIZE error returns
Obtaining stats for the IFLA_STATS_LINK_OFFLOAD_XSTATS nest involves a HW access, and can fail for more reasons than just netlink message size exhaustion. Therefore do not always return -EMSGSIZE on the failure path, but respect the error code provided by the callee. Set the error explicitly where it is reasonable to assume -EMSGSIZE as the failure reason. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.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