From: Patrick McHardy <kaber@trash.net>
To: Harald Welte <laforge@gnumonks.org>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: [PATCH]: Fix oops with pending/23_REJECT-headroom-tcprst.patch
Date: Tue, 11 Mar 2003 04:00:33 +0100 [thread overview]
Message-ID: <3E6D5151.7050403@trash.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 121 bytes --]
Hi Harald,
this patch fixes an oops with 23-REJECT-headroom-tcprst.patch (nskb is
used before copy).
Regards,
Patrick
[-- Attachment #2: 23_REJECT-headroom-tcprst-fix.diff --]
[-- Type: text/plain, Size: 982 bytes --]
? conntrack-fragments
? linux-2.4.20-clean
? linux-2.4.20-nf
? linux-2.4.20.tar.bz2
? netfilter-nobssinit.diff
Index: patch-o-matic/pending/23_REJECT-headroom-tcprst.patch
===================================================================
RCS file: /cvspublic/netfilter/patch-o-matic/pending/23_REJECT-headroom-tcprst.patch,v
retrieving revision 1.2
diff -u -r1.2 23_REJECT-headroom-tcprst.patch
--- patch-o-matic/pending/23_REJECT-headroom-tcprst.patch 5 Mar 2003 07:51:47 -0000 1.2
+++ patch-o-matic/pending/23_REJECT-headroom-tcprst.patch 11 Mar 2003 02:54:35 -0000
@@ -14,9 +14,9 @@
return;
+ /* Routing: if not headed for us, route won't like source */
-+ if (ip_route_output(&rt, nskb->nh.iph->daddr,
-+ local ? nskb->nh.iph->saddr : 0,
-+ RT_TOS(nskb->nh.iph->tos) | RTO_CONN,
++ if (ip_route_output(&rt, oldskb->nh.iph->daddr,
++ local ? oldskb->nh.iph->saddr : 0,
++ RT_TOS(oldskb->nh.iph->tos) | RTO_CONN,
+ 0) != 0)
+ return;
+
next reply other threads:[~2003-03-11 3:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-11 3:00 Patrick McHardy [this message]
2003-03-11 12:38 ` [PATCH]: Fix oops with pending/23_REJECT-headroom-tcprst.patch Harald Welte
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=3E6D5151.7050403@trash.net \
--to=kaber@trash.net \
--cc=laforge@gnumonks.org \
--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.