Skip to contentSkip to conversation

trivial netfilter compile problem in 2.5.4[34]-mm2

DISCUSSION Joern Nettingsmeier 3 participants 3 messages Oct 21, 2002 – Oct 22, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

hi *!

in order to compile 2.5.4[34], i had to add #include <linux/netfilter_ipv4> to net/ipv4/raw.c, since it choked on NF_IP_LOCAL_OUT being undefined in line 297.

since i've had this problem for two kernel releases now, i thought i'd bring this to your attention.

regards,

jörn

(please cc: me on followups, the archive i'm using to read lkml lags badly. thx.)

Signature · 4 lines
Jörn Nettingsmeier     
Kurfürstenstr 49, 45138 Essen, Germany      
http://spunk.dnsalias.org (my server)
http://www.linuxdj.com/audio/lad/ (Linux Audio Developers)
#1 lore raw
Quoted 9 lines · Joern Nettingsmeier

hi *!

in order to compile 2.5.4[34], i had to add #include <linux/netfilter_ipv4> to net/ipv4/raw.c, since it choked on NF_IP_LOCAL_OUT being undefined in line 297.

since i've had this problem for two kernel releases now, i thought i'd bring this to your attention.

Thanks a lot, I will investigate this once I am close to an internet connection and can download the respective kernel version(s).

Quoted 2 lines

regards,
jörn

Signature · 5 lines
Live long and prosper
- Harald Welte / [email protected]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)
#2 lore raw

Patch already in LK, but here goes:

On 10/22, Harald Welte said something like:

Quoted 8 lines · Joern Nettingsmeier
Quoted 7 lines

hi *!

in order to compile 2.5.4[34], i had to add #include <linux/netfilter_ipv4> to net/ipv4/raw.c, since it choked on NF_IP_LOCAL_OUT being undefined in line 297.

Quoted 20 lines
Quoted 2 lines

since i've had this problem for two kernel releases now, i thought i'd bring this to your attention.

Thanks a lot, I will investigate this once I am close to an internet connection and can download the respective kernel version(s).

Quoted 2 lines

regards,
jörn

Signature · 10 lines
Live long and prosper
- Harald Welte / [email protected]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

--
Shawn Leas
[email protected]

While I was gone, somebody rearranged on the furniture in my bedroom. They put it in _exactly_ the same place it was. When I told my roommate, he said: Do I know you?
-- Stephen Wright

raw.c renamed from raw.old +1 -1
@@ -64,7 +64,7 @@
 #include <net/raw.h>
 #include <net/inet_common.h>
 #include <net/checksum.h>
-#include <linux/netfilter.h>
+#include <linux/netfilter_ipv4.h>
 
 struct sock *raw_v4_htable[RAWV4_HTABLE_SIZE];
 rwlock_t raw_v4_lock = RW_LOCK_UNLOCKED;