]> git.baikalelectronics.ru Git - 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)
commita5951190f8c939e4cf1cb34dcad99c29536d5d22
tree6d7e1790ae72b6c6b5fd6838e32c002543fda81d
parent2eb0377044fb849587930e0602fb9f25803865c6
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