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 7d99e13148e6..11db43632df8 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1560,6 +1560,8 @@ struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, | |||
1560 | EXPORT_SYMBOL(sock_alloc_send_skb); | 1560 | EXPORT_SYMBOL(sock_alloc_send_skb); |
1561 | 1561 | ||
1562 | static void __lock_sock(struct sock *sk) | 1562 | static void __lock_sock(struct sock *sk) |
1563 | __releases(&sk->sk_lock.slock) | ||
1564 | __acquires(&sk->sk_lock.slock) | ||
1563 | { | 1565 | { |
1564 | DEFINE_WAIT(wait); | 1566 | DEFINE_WAIT(wait); |
1565 | 1567 | ||
@@ -1576,6 +1578,8 @@ static void __lock_sock(struct sock *sk) | |||
1576 | } | 1578 | } |
1577 | 1579 | ||
1578 | static void __release_sock(struct sock *sk) | 1580 | static void __release_sock(struct sock *sk) |
1581 | __releases(&sk->sk_lock.slock) | ||
1582 | __acquires(&sk->sk_lock.slock) | ||
1579 | { | 1583 | { |
1580 | struct sk_buff *skb = sk->sk_backlog.head; | 1584 | struct sk_buff *skb = sk->sk_backlog.head; |
1581 | 1585 | ||