summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-03-15 18:17:43 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-16 02:04:24 -0700
commitfe2a31d790f81bd14a76de3d3b87f4f1362f60cd (patch)
tree2be6725a40594e20680cc5131fe4024a4b527f0b /tools/perf/scripts/python/export-to-postgresql.py
parentef299cc3fa1a9e1288665a9fdc8bff55629fd359 (diff)
netlink: allow extack cookie also for error messages
Commit ba0dc5f6e0ba ("netlink: allow sending extended ACK with cookie on success") introduced a cookie which can be sent to userspace as part of extended ack message in the form of NLMSGERR_ATTR_COOKIE attribute. Currently the cookie is ignored if error code is non-zero but there is no technical reason for such limitation and it can be useful to provide machine parseable information as part of an error message. Include NLMSGERR_ATTR_COOKIE whenever the cookie has been set, regardless of error code. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> 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