]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
netlink: Allow ext_ack to carry non-error messages
authorDavid Ahern <dsahern@gmail.com>
Sat, 28 Oct 2017 00:37:12 +0000 (17:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 02:50:43 +0000 (11:50 +0900)
commit4f6265d485ea0a2507692ded8ed47b323f49587c
tree6d7e1790ae72b6c6b5fd6838e32c002543fda81d
parenta7b216b1e1cbbe7dceec2d69403bf249bb804abe
netlink: Allow ext_ack to carry non-error messages

The NLMSGERR API already carries data (eg, a cookie) on the success path.
Allow a message string to be returned as well.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c