inet_diag: Remove _bh suffix in inet_diag_dump_reqs().

inet_diag_dump_reqs() is called from inet_diag_dump_icsk() with BH
disabled. So no need to disable BH in inet_diag_dump_reqs().

Signed-off-by: Hiroaki Shimoda <shimoda.hiroaki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Hiroaki SHIMODA 2015-06-18 20:40:54 +09:00 коммит произвёл David S. Miller
Родитель 3447cf2e9a
Коммит 3b1884435a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -746,7 +746,7 @@ static int inet_diag_dump_reqs(struct sk_buff *skb, struct sock *sk,
entry.family = sk->sk_family; entry.family = sk->sk_family;
spin_lock_bh(&icsk->icsk_accept_queue.syn_wait_lock); spin_lock(&icsk->icsk_accept_queue.syn_wait_lock);
lopt = icsk->icsk_accept_queue.listen_opt; lopt = icsk->icsk_accept_queue.listen_opt;
if (!lopt || !listen_sock_qlen(lopt)) if (!lopt || !listen_sock_qlen(lopt))
@ -794,7 +794,7 @@ static int inet_diag_dump_reqs(struct sk_buff *skb, struct sock *sk,
} }
out: out:
spin_unlock_bh(&icsk->icsk_accept_queue.syn_wait_lock); spin_unlock(&icsk->icsk_accept_queue.syn_wait_lock);
return err; return err;
} }