pktgen: Require CONFIG_INET due to use of IPv4 checksum function
authorThomas Graf <tgraf@suug.ch>
Mon, 29 Jul 2013 11:44:15 +0000 (13:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 23:45:09 +0000 (16:45 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/Kconfig

index 37702491abe98eedd91738408851c56d3a8ea3a5..37162eb88f07ee9960c8bd4c347f2658f04d7823 100644 (file)
@@ -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