make pktgen depends on procfs [2.6.0-test3]
Subsystems (2)
PATCH 1/1 make pktgen depends on procfs [2.6.0-test3]
IMHO pktgen should depends on proc fs to avoid the following compilation error:
net/core/pktgen.c: In function `create_proc_dir':net/core/pktgen.c:1296: `proc_net' undeclared (first use in this function) net/core/pktgen.c:1296: (Each undeclared identifier is reported only once net/core/pktgen.c:1296: for each function it appears in.) make[2]: *** [net/core/pktgen.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2
net/Kconfig +1 -0
@@ -661,6 +661,7 @@ config NET_PKTGEN tristate "Packet Generator (USE WITH CAUTION)" + depends on CONFIG_PROC_FS ---help--- This module will inject preconfigured packets, at a configurable rate, out of a given interface. It is used for network interface
Signature · 1 line
Daniele.
PATCH 1/1 make pktgen depends on procfs [2.6.0-test3]
Quoted 2 lines · Daniele Bellucci
IMHO pktgen should depends on proc fs to avoid the following compilation error:
Hello!
It should be changed to:
net/Kconfig +1 -0
@@ -661,6 +661,7 @@ config NET_PKTGEN tristate "Packet Generator (USE WITH CAUTION)" + depends on PROC_FS ---help--- This module will inject preconfigured packets, at a configurable rate, out of a given interface. It is used for network interface
Review
Quoted 1 line
(quoted diff) +1
-0+ depends on CONFIG_PROC_FS
Cheers.
--ro
Quoted 15 lines
Hello!
It should be changed to:diff -urN 1.0/net/Kconfig 1.1/net/Kconfig
net/Kconfig +1
-0@@ -661,6 +661,7 @@ config NET_PKTGEN tristate "Packet Generator (USE WITH CAUTION)" + depends on PROC_FS ---help--- This module will inject preconfigured packets, at a configurable rate, out of a given interface. It is used for network interface
Quoted 4 lines
Review
Quoted 1 line
(quoted diff) +1
-0+ depends on CONFIG_PROC_FSCheers.
--ro
Argh !%$@#! i've post the wrong version ;(
Signature · 1 line
Daniele.
David S. Miller
Appliednet/Kconfig line 664
Quoted 8 lines · On Tue, 19 Aug 2003 15:54:33 +0200 Robert Olsson <[email protected]>…
diff -urN 1.0/net/Kconfig 1.1/net/Kconfig
net/Kconfig +1
-0@@ -661,6 +661,7 @@ config NET_PKTGEN tristate "Packet Generator (USE WITH CAUTION)" + depends on PROC_FS
Applied, thanks.