diff options
Diffstat (limited to 'net/core/skbuff.c')
| -rw-r--r-- | net/core/skbuff.c | 3 | 
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index c996c09d095f..b2c807f67aba 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -939,9 +939,6 @@ struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size)  	WARN_ON_ONCE(!in_task()); -	if (!sock_flag(sk, SOCK_ZEROCOPY)) -		return NULL; -  	skb = sock_omalloc(sk, 0, GFP_KERNEL);  	if (!skb)  		return NULL;  | 
