|
|
@@ -246,8 +246,7 @@ nf_flow_offload_ip_hook(void *priv, struct sk_buff *skb,
|
|
|
flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]);
|
|
|
rt = (struct rtable *)flow->tuplehash[dir].tuple.dst_cache;
|
|
|
|
|
|
- if (unlikely(nf_flow_exceeds_mtu(skb, flow->tuplehash[dir].tuple.mtu)) &&
|
|
|
- (ip_hdr(skb)->frag_off & htons(IP_DF)) != 0)
|
|
|
+ if (unlikely(nf_flow_exceeds_mtu(skb, flow->tuplehash[dir].tuple.mtu)))
|
|
|
return NF_ACCEPT;
|
|
|
|
|
|
if (skb_try_make_writable(skb, sizeof(*iph)))
|