netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] pktgen: Require CONFIG_INET due to use of IPv4 checksum function
@ 2013-07-29 11:44 Thomas Graf
  2013-07-30 23:45 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Graf @ 2013-07-29 11:44 UTC (permalink / raw)
  To: davem; +Cc: netdev

Unlike for IPv6, the IPv4 checksum functions are only available
if CONFIG_INET is set.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
---
 net/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/Kconfig b/net/Kconfig
index 3770249..37162eb 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -281,7 +281,7 @@ menu "Network testing"
 
 config NET_PKTGEN
 	tristate "Packet Generator (USE WITH CAUTION)"
-	depends on PROC_FS
+	depends on INET && PROC_FS
 	---help---
 	  This module will inject preconfigured packets, at a configurable
 	  rate, out of a given interface.  It is used for network interface
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] pktgen: Require CONFIG_INET due to use of IPv4 checksum function
  2013-07-29 11:44 [PATCH net-next] pktgen: Require CONFIG_INET due to use of IPv4 checksum function Thomas Graf
@ 2013-07-30 23:45 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-07-30 23:45 UTC (permalink / raw)
  To: tgraf; +Cc: netdev

From: Thomas Graf <tgraf@suug.ch>
Date: Mon, 29 Jul 2013 13:44:15 +0200

> Unlike for IPv6, the IPv4 checksum functions are only available
> if CONFIG_INET is set.
> 
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Thomas Graf <tgraf@suug.ch>

Applied, thanks Thomas.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-30 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-29 11:44 [PATCH net-next] pktgen: Require CONFIG_INET due to use of IPv4 checksum function Thomas Graf
2013-07-30 23:45 ` David Miller

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).