diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/ip_input.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index b1209b63381f..d77eb0c3b684 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c | |||
@@ -316,7 +316,10 @@ static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) | |||
316 | const struct iphdr *iph = ip_hdr(skb); | 316 | const struct iphdr *iph = ip_hdr(skb); |
317 | struct rtable *rt; | 317 | struct rtable *rt; |
318 | 318 | ||
319 | if (sysctl_ip_early_demux && !skb_dst(skb) && !skb->sk) { | 319 | if (sysctl_ip_early_demux && |
320 | !skb_dst(skb) && | ||
321 | !skb->sk && | ||
322 | !ip_is_fragment(iph)) { | ||
320 | const struct net_protocol *ipprot; | 323 | const struct net_protocol *ipprot; |
321 | int protocol = iph->protocol; | 324 | int protocol = iph->protocol; |
322 | 325 | ||