Fix ipt_TCPMSS.c for kernel 2.5.47
Hi all,
Minor fix for ipt_TCPMSS.c since pmtu don't exsist anymore...
*** linux-2.5.47-org/net/ipv4/netfilter/ipt_TCPMSS.c Thu Nov 14 01:24:42 2002
--- linux-2.5.47/net/ipv4/netfilter/ipt_TCPMSS.c Mon Nov 11 04:28:16 2002
***************
*** 92,98 ****
return NF_DROP; /* or IPT_CONTINUE ?? */
}
! newmss = dst_pmtu((*pskb)->dst->pmtu) - sizeof(struct iphdr) -
sizeof(struct tcphdr);
} else
newmss = tcpmssinfo->mss;
--- 92,98 ----
return NF_DROP; /* or IPT_CONTINUE ?? */
}
! newmss = dst_pmtu((*pskb)->dst) - sizeof(struct iphdr) -
sizeof(struct tcphdr);
} else
newmss = tcpmssinfo->mss;
regards
Jan Holmberg, sysadm artech