We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfe2188 commit ec5ce46Copy full SHA for ec5ce46
net/core/sock.c
@@ -2493,12 +2493,11 @@ void lock_sock_nested(struct sock *sk, int subclass)
2493
if (sk->sk_lock.owned)
2494
__lock_sock(sk);
2495
sk->sk_lock.owned = 1;
2496
- spin_unlock(&sk->sk_lock.slock);
+ spin_unlock_bh(&sk->sk_lock.slock);
2497
/*
2498
* The sk_lock has mutex_lock() semantics here:
2499
*/
2500
mutex_acquire(&sk->sk_lock.dep_map, subclass, 0, _RET_IP_);
2501
- local_bh_enable();
2502
}
2503
EXPORT_SYMBOL(lock_sock_nested);
2504
0 commit comments