diff options
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index ef30e9d286e..42365deeba2 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1557,6 +1557,8 @@ struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, | |||
1557 | EXPORT_SYMBOL(sock_alloc_send_skb); | 1557 | EXPORT_SYMBOL(sock_alloc_send_skb); |
1558 | 1558 | ||
1559 | static void __lock_sock(struct sock *sk) | 1559 | static void __lock_sock(struct sock *sk) |
1560 | __releases(&sk->sk_lock.slock) | ||
1561 | __acquires(&sk->sk_lock.slock) | ||
1560 | { | 1562 | { |
1561 | DEFINE_WAIT(wait); | 1563 | DEFINE_WAIT(wait); |
1562 | 1564 | ||
@@ -1573,6 +1575,8 @@ static void __lock_sock(struct sock *sk) | |||
1573 | } | 1575 | } |
1574 | 1576 | ||
1575 | static void __release_sock(struct sock *sk) | 1577 | static void __release_sock(struct sock *sk) |
1578 | __releases(&sk->sk_lock.slock) | ||
1579 | __acquires(&sk->sk_lock.slock) | ||
1576 | { | 1580 | { |
1577 | struct sk_buff *skb = sk->sk_backlog.head; | 1581 | struct sk_buff *skb = sk->sk_backlog.head; |
1578 | 1582 | ||