diff options
Diffstat (limited to 'net/ipv4')
-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 054a3e97d822..3d4da2c16b6a 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) | |||
314 | const struct iphdr *iph = ip_hdr(skb); | 314 | const struct iphdr *iph = ip_hdr(skb); |
315 | struct rtable *rt; | 315 | struct rtable *rt; |
316 | 316 | ||
317 | if (sysctl_ip_early_demux && !skb_dst(skb)) { | 317 | if (sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) { |
318 | const struct net_protocol *ipprot; | 318 | const struct net_protocol *ipprot; |
319 | int protocol = iph->protocol; | 319 | int protocol = iph->protocol; |
320 | 320 | ||