diff options
Diffstat (limited to 'include/net/sock.h')
| -rw-r--r-- | include/net/sock.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 7d500a825e4e..bcbf8891dde4 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
| @@ -1192,15 +1192,7 @@ static inline void sk_stream_moderate_sndbuf(struct sock *sk) | |||
| 1192 | } | 1192 | } |
| 1193 | } | 1193 | } |
| 1194 | 1194 | ||
| 1195 | struct sk_buff *sk_stream_alloc_pskb(struct sock *sk, | 1195 | struct sk_buff *sk_stream_alloc_skb(struct sock *sk, int size, gfp_t gfp); |
| 1196 | int size, int mem, gfp_t gfp); | ||
| 1197 | |||
| 1198 | static inline struct sk_buff *sk_stream_alloc_skb(struct sock *sk, | ||
| 1199 | int size, | ||
| 1200 | gfp_t gfp) | ||
| 1201 | { | ||
| 1202 | return sk_stream_alloc_pskb(sk, size, 0, gfp); | ||
| 1203 | } | ||
| 1204 | 1196 | ||
| 1205 | static inline struct page *sk_stream_alloc_page(struct sock *sk) | 1197 | static inline struct page *sk_stream_alloc_page(struct sock *sk) |
| 1206 | { | 1198 | { |
