diff options
-rw-r--r-- | net/ipv4/netfilter/ipt_TCPMSS.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/ipv4/netfilter/ipt_TCPMSS.c b/net/ipv4/netfilter/ipt_TCPMSS.c index bfc8d9c7d020..b2d3c4f992d1 100644 --- a/net/ipv4/netfilter/ipt_TCPMSS.c +++ b/net/ipv4/netfilter/ipt_TCPMSS.c | |||
@@ -73,13 +73,6 @@ ipt_tcpmss_target(struct sk_buff **pskb, | |||
73 | } | 73 | } |
74 | 74 | ||
75 | if (tcpmssinfo->mss == IPT_TCPMSS_CLAMP_PMTU) { | 75 | if (tcpmssinfo->mss == IPT_TCPMSS_CLAMP_PMTU) { |
76 | if (!(*pskb)->dst) { | ||
77 | if (net_ratelimit()) | ||
78 | printk(KERN_ERR "ipt_tcpmss_target: " | ||
79 | "no dst?! can't determine path-MTU\n"); | ||
80 | return NF_DROP; /* or IPT_CONTINUE ?? */ | ||
81 | } | ||
82 | |||
83 | if (dst_mtu((*pskb)->dst) <= sizeof(struct iphdr) + | 76 | if (dst_mtu((*pskb)->dst) <= sizeof(struct iphdr) + |
84 | sizeof(struct tcphdr)) { | 77 | sizeof(struct tcphdr)) { |
85 | if (net_ratelimit()) | 78 | if (net_ratelimit()) |