]> git.baikalelectronics.ru Git - kernel.git/commit
net: netlink: add helper to retrieve NETLINK_F_STRICT_CHK
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 18 Jan 2019 18:46:13 +0000 (10:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jan 2019 18:09:58 +0000 (10:09 -0800)
commit691b1752e2580d2686cfc78a8e1eb69f57a8a0f5
tree18e5719ebf19cdd5432ead16a2425f60719fa1fe
parentb55821f28a1a183bc8aa55bd56f3b823c98bdd12
net: netlink: add helper to retrieve NETLINK_F_STRICT_CHK

Dumps can read state of the NETLINK_F_STRICT_CHK flag from
a field in the callback structure.  For non-dump GET requests
we need a way to access the state of that flag from a socket.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h
net/netlink/af_netlink.c