diff options
Diffstat (limited to 'net/ipv4/inet_diag.c')
-rw-r--r-- | net/ipv4/inet_diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inet_diag.c b/net/ipv4/inet_diag.c index 031cc4856b49..b04a6ee5a9a1 100644 --- a/net/ipv4/inet_diag.c +++ b/net/ipv4/inet_diag.c | |||
@@ -845,7 +845,7 @@ static void inet_diag_rcv(struct sock *sk, int len) | |||
845 | 845 | ||
846 | do { | 846 | do { |
847 | mutex_lock(&inet_diag_mutex); | 847 | mutex_lock(&inet_diag_mutex); |
848 | netlink_run_queue(sk, &qlen, &inet_diag_rcv_msg); | 848 | qlen = netlink_run_queue(sk, qlen, &inet_diag_rcv_msg); |
849 | mutex_unlock(&inet_diag_mutex); | 849 | mutex_unlock(&inet_diag_mutex); |
850 | } while (qlen); | 850 | } while (qlen); |
851 | } | 851 | } |