diff options
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 433715fb141a..09cb3a74de7f 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1731,7 +1731,7 @@ void sock_init_data(struct socket *sock, struct sock *sk) | |||
1731 | atomic_set(&sk->sk_drops, 0); | 1731 | atomic_set(&sk->sk_drops, 0); |
1732 | } | 1732 | } |
1733 | 1733 | ||
1734 | void fastcall lock_sock_nested(struct sock *sk, int subclass) | 1734 | void lock_sock_nested(struct sock *sk, int subclass) |
1735 | { | 1735 | { |
1736 | might_sleep(); | 1736 | might_sleep(); |
1737 | spin_lock_bh(&sk->sk_lock.slock); | 1737 | spin_lock_bh(&sk->sk_lock.slock); |
@@ -1748,7 +1748,7 @@ void fastcall lock_sock_nested(struct sock *sk, int subclass) | |||
1748 | 1748 | ||
1749 | EXPORT_SYMBOL(lock_sock_nested); | 1749 | EXPORT_SYMBOL(lock_sock_nested); |
1750 | 1750 | ||
1751 | void fastcall release_sock(struct sock *sk) | 1751 | void release_sock(struct sock *sk) |
1752 | { | 1752 | { |
1753 | /* | 1753 | /* |
1754 | * The sk_lock has mutex_unlock() semantics: | 1754 | * The sk_lock has mutex_unlock() semantics: |