diff options
Diffstat (limited to 'net/netlink/genetlink.c')
-rw-r--r-- | net/netlink/genetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index af8fe26815fa..07ef5d204a0f 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c | |||
@@ -485,7 +485,7 @@ static void genl_rcv(struct sock *sk, int len) | |||
485 | do { | 485 | do { |
486 | if (genl_trylock()) | 486 | if (genl_trylock()) |
487 | return; | 487 | return; |
488 | netlink_run_queue(sk, &qlen, genl_rcv_msg); | 488 | qlen = netlink_run_queue(sk, qlen, genl_rcv_msg); |
489 | genl_unlock(); | 489 | genl_unlock(); |
490 | } while (qlen && genl_sock && genl_sock->sk_receive_queue.qlen); | 490 | } while (qlen && genl_sock && genl_sock->sk_receive_queue.qlen); |
491 | } | 491 | } |