diff options
author | David Ahern | 2018-10-08 05:16:22 +0200 |
---|---|---|
committer | David S. Miller | 2018-10-08 19:39:03 +0200 |
commit | 4a19edb60d0203cd5bf95a8b46ea8f63fd41194c (patch) | |
tree | 741909355e9359619927e90759c0f0d354c4680c /include/net/netlink.h | |
parent | isdn/gigaset: mark expected switch fall-throughs (diff) | |
download | kernel-qcow2-linux-4a19edb60d0203cd5bf95a8b46ea8f63fd41194c.tar.gz kernel-qcow2-linux-4a19edb60d0203cd5bf95a8b46ea8f63fd41194c.tar.xz kernel-qcow2-linux-4a19edb60d0203cd5bf95a8b46ea8f63fd41194c.zip |
netlink: Pass extack to dump handlers
Declare extack in netlink_dump and pass to dump handlers via
netlink_callback. Add any extack message after the dump_done_errno
allowing error messages to be returned. This will be useful when
strict checking is done on dump requests, returning why the dump
fails EINVAL.
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netlink.h')
0 files changed, 0 insertions, 0 deletions