All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix ipt_TCPMSS.c for kernel 2.5.47
@ 2002-11-13 16:58 Jan Holmberg
  0 siblings, 0 replies; only message in thread
From: Jan Holmberg @ 2002-11-13 16:58 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-13 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-13 16:58 Fix ipt_TCPMSS.c for kernel 2.5.47 Jan Holmberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.