All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jérôme Poulin" <jeromepoulin@gmail.com>
To: netfilter-devel@lists.netfilter.org
Subject: ipt_TARPIT.c - dst_ptmu
Date: Mon, 9 May 2005 23:58:22 -0400	[thread overview]
Message-ID: <debc30fc05050920582d8bde35@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

I get errors about :
*** Warning: "dst_pmtu" [net/ipv4/netfilter/ipt_TARPIT.ko] undefined!
when compiling the TARPIT, I replaced the dst_pmtu with dst_mtu and it
now works, just a little patch to do to ipt_TARPIT.c to make it work
with the new kernel I think. Using 2.6.12-rc3-mm3.

[-- Attachment #2: ipt_TARPIT.c.diff --]
[-- Type: application/octet-stream, Size: 306 bytes --]

--- ipt_TARPIT.c.old	2005-05-09 23:54:50.000000000 -0400
+++ ipt_TARPIT.c	2005-05-09 23:51:14.000000000 -0400
@@ -194,7 +194,7 @@
 	nskb->dst = &nrt->u.dst;
 
 	/* "Never happens" */
-	if (nskb->len > dst_pmtu(nskb->dst))
+	if (nskb->len > dst_mtu(nskb->dst))
 		goto free_nskb;
 
 	ip_direct_send (nskb);

                 reply	other threads:[~2005-05-10  3: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=debc30fc05050920582d8bde35@mail.gmail.com \
    --to=jeromepoulin@gmail.com \
    --cc=netfilter-devel@lists.netfilter.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.