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
diff -urN 1.0/net/Kconfig 1.1/net/Kconfig
--- 1.0/net/Kconfig 2003-08-18 23:25:02.000000000 +0200
+++ 1.1/net/Kconfig 2003-08-18 23:25:13.000000000 +0200
@@ -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
--
Daniele.
|