summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-06-29 06:15:21 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-29 16:46:02 -0700
commit28f83e61e5aec7dd305f968c191266afeda104f2 (patch)
tree5971cef1e6dbb0262a168871f6c3b1bd7d4f38d3 /crypto/Kconfig
parentf9dd10869d8c142e3669116bd3b4b8c29ee67734 (diff)
downloadlinux-crypto-28f83e61e5aec7dd305f968c191266afeda104f2.tar.gz
linux-crypto-28f83e61e5aec7dd305f968c191266afeda104f2.zip
netlink: add netlink_kernel_cfg parameter to netlink_kernel_create
This patch adds the following structure: struct netlink_kernel_cfg { unsigned int groups; void (*input)(struct sk_buff *skb); struct mutex *cb_mutex; }; That can be passed to netlink_kernel_create to set optional configurations for netlink kernel sockets. I've populated this structure by looking for NULL and zero parameters at the existing code. The remaining parameters that always need to be set are still left in the original interface. That includes optional parameters for the netlink socket creation. This allows easy extensibility of this interface in the future. This patch also adapts all callers to use this new interface. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions