mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[NETLINK]: Add "groups" argument to netlink_kernel_create
Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
9a4595bc7e
commit
066286071d
16 changed files with 27 additions and 20 deletions
|
|
@ -1520,8 +1520,8 @@ static int __init xfrm_user_init(void)
|
|||
{
|
||||
printk(KERN_INFO "Initializing IPsec netlink socket\n");
|
||||
|
||||
xfrm_nl = netlink_kernel_create(NETLINK_XFRM, xfrm_netlink_rcv,
|
||||
THIS_MODULE);
|
||||
xfrm_nl = netlink_kernel_create(NETLINK_XFRM, XFRMNLGRP_MAX,
|
||||
xfrm_netlink_rcv, THIS_MODULE);
|
||||
if (xfrm_nl == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue