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 feda459 commit 0d8f089Copy full SHA for 0d8f089
net/core/sock.c
@@ -2435,12 +2435,11 @@ void lock_sock_nested(struct sock *sk, int subclass)
2435
if (sk->sk_lock.owned)
2436
__lock_sock(sk);
2437
sk->sk_lock.owned = 1;
2438
- spin_unlock(&sk->sk_lock.slock);
+ spin_unlock_bh(&sk->sk_lock.slock);
2439
/*
2440
* The sk_lock has mutex_lock() semantics here:
2441
*/
2442
mutex_acquire(&sk->sk_lock.dep_map, subclass, 0, _RET_IP_);
2443
- local_bh_enable();
2444
}
2445
EXPORT_SYMBOL(lock_sock_nested);
2446
0 commit comments