All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Holmberg <jan@artech.net>
To: netfilter-devel@lists.samba.org
Subject: Fix ipt_TCPMSS.c for kernel 2.5.47
Date: Wed, 13 Nov 2002 17:58:17 +0100	[thread overview]
Message-ID: <3DD284A9.EA60D065@artech.net> (raw)

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

                 reply	other threads:[~2002-11-13 16:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DD284A9.EA60D065@artech.net \
    --to=jan@artech.net \
    --cc=netfilter-devel@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.