diff options
Diffstat (limited to 'net/netlink/af_netlink.c')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 7849cac14d3a..a67f1b44c9a3 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -402,7 +402,7 @@ static int netlink_create(struct socket *sock, int protocol) | |||
402 | groups = nl_table[protocol].groups; | 402 | groups = nl_table[protocol].groups; |
403 | netlink_unlock_table(); | 403 | netlink_unlock_table(); |
404 | 404 | ||
405 | if ((err = __netlink_create(sock, protocol) < 0)) | 405 | if ((err = __netlink_create(sock, protocol)) < 0) |
406 | goto out_module; | 406 | goto out_module; |
407 | 407 | ||
408 | nlk = nlk_sk(sock->sk); | 408 | nlk = nlk_sk(sock->sk); |