[NETFILTER]: ipt_TCPMSS: remove impossible condition
Every skb must have a dst_entry at this point. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
68e1f188de
commit
2be344c446
@ -73,13 +73,6 @@ ipt_tcpmss_target(struct sk_buff **pskb,
|
||||
}
|
||||
|
||||
if (tcpmssinfo->mss == IPT_TCPMSS_CLAMP_PMTU) {
|
||||
if (!(*pskb)->dst) {
|
||||
if (net_ratelimit())
|
||||
printk(KERN_ERR "ipt_tcpmss_target: "
|
||||
"no dst?! can't determine path-MTU\n");
|
||||
return NF_DROP; /* or IPT_CONTINUE ?? */
|
||||
}
|
||||
|
||||
if (dst_mtu((*pskb)->dst) <= sizeof(struct iphdr) +
|
||||
sizeof(struct tcphdr)) {
|
||||
if (net_ratelimit())
|
||||
|
Loading…
x
Reference in New Issue
Block a user