* [PATCH]: Fix oops with pending/23_REJECT-headroom-tcprst.patch
@ 2003-03-11 3:00 Patrick McHardy
2003-03-11 12:38 ` Harald Welte
0 siblings, 1 reply; 2+ messages in thread
From: Patrick McHardy @ 2003-03-11 3:00 UTC (permalink / raw)
To: Harald Welte; +Cc: Netfilter Development Mailinglist
[-- 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;
+
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-11 12:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-11 3:00 [PATCH]: Fix oops with pending/23_REJECT-headroom-tcprst.patch Patrick McHardy
2003-03-11 12:38 ` Harald Welte
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.