netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniele Bellucci <bellucda@tiscali.it>
To: netdev@oss.sgi.com
Cc: davem@redhat.com
Subject: [PATCH] make pktgen depends on procfs [2.6.0-test3]
Date: Mon, 18 Aug 2003 23:26:10 +0200	[thread overview]
Message-ID: <200308182326.10798.bellucda@tiscali.it> (raw)

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.

             reply	other threads:[~2003-08-18 21:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-18 21:26 Daniele Bellucci [this message]
2003-08-19 13:54 ` [PATCH] make pktgen depends on procfs [2.6.0-test3] Robert Olsson
2003-08-19 13:58   ` Daniele Bellucci
2003-08-20  4:08   ` David S. Miller

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=200308182326.10798.bellucda@tiscali.it \
    --to=bellucda@tiscali.it \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).