diff options
Diffstat (limited to 'net/ipv4/ip_input.c')
| -rw-r--r-- | net/ipv4/ip_input.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index 054a3e97d82..3d4da2c16b6 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c @@ -314,7 +314,7 @@ static int ip_rcv_finish(struct sk_buff *skb)  	const struct iphdr *iph = ip_hdr(skb);  	struct rtable *rt; -	if (sysctl_ip_early_demux && !skb_dst(skb)) { +	if (sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) {  		const struct net_protocol *ipprot;  		int protocol = iph->protocol;  | 
