|
@@ -316,7 +316,10 @@ static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb)
|
|
const struct iphdr *iph = ip_hdr(skb);
|
|
const struct iphdr *iph = ip_hdr(skb);
|
|
struct rtable *rt;
|
|
struct rtable *rt;
|
|
|
|
|
|
- if (sysctl_ip_early_demux && !skb_dst(skb) && !skb->sk) {
|
|
|
|
|
|
+ if (sysctl_ip_early_demux &&
|
|
|
|
+ !skb_dst(skb) &&
|
|
|
|
+ !skb->sk &&
|
|
|
|
+ !ip_is_fragment(iph)) {
|
|
const struct net_protocol *ipprot;
|
|
const struct net_protocol *ipprot;
|
|
int protocol = iph->protocol;
|
|
int protocol = iph->protocol;
|
|
|
|
|