X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=crypto%2Fcrypto_user.c;h=ba2c611154af5e0df373a04b22eed782da0daac5;hb=9161c3b796a2841a9a7be3d9c9dd121269ce90e8;hp=5a37eadb4e56da5c922bab5167a295432e3cca3a;hpb=aace99e57c90353a51952e9dd1f6f110eec30d15;p=karo-tx-linux.git diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index 5a37eadb4e56..ba2c611154af 100644 --- a/crypto/crypto_user.c +++ b/crypto/crypto_user.c @@ -496,9 +496,12 @@ static void crypto_netlink_rcv(struct sk_buff *skb) static int __init crypto_user_init(void) { + struct netlink_kernel_cfg cfg = { + .input = crypto_netlink_rcv, + }; + crypto_nlsk = netlink_kernel_create(&init_net, NETLINK_CRYPTO, - 0, crypto_netlink_rcv, - NULL, THIS_MODULE); + THIS_MODULE, &cfg); if (!crypto_nlsk) return -ENOMEM;