aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index cee528c119ca..11ccde65c4cf 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -658,6 +658,11 @@ static inline bool sock_flag(const struct sock *sk, enum sock_flags flag)
658 return test_bit(flag, &sk->sk_flags); 658 return test_bit(flag, &sk->sk_flags);
659} 659}
660 660
661static inline gfp_t sk_gfp_atomic(struct sock *sk, gfp_t gfp_mask)
662{
663 return GFP_ATOMIC;
664}
665
661static inline void sk_acceptq_removed(struct sock *sk) 666static inline void sk_acceptq_removed(struct sock *sk)
662{ 667{
663 sk->sk_ack_backlog--; 668 sk->sk_ack_backlog--;