pktgen: Require CONFIG_INET due to use of IPv4 checksum function

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>
This commit is contained in:
Thomas Graf 2013-07-29 13:44:15 +02:00 committed by David S. Miller
parent 5ad37d5dee
commit ffd756b317

View File

@ -281,7 +281,7 @@ menu "Network testing"
config NET_PKTGEN config NET_PKTGEN
tristate "Packet Generator (USE WITH CAUTION)" tristate "Packet Generator (USE WITH CAUTION)"
depends on PROC_FS depends on INET && PROC_FS
---help--- ---help---
This module will inject preconfigured packets, at a configurable This module will inject preconfigured packets, at a configurable
rate, out of a given interface. It is used for network interface rate, out of a given interface. It is used for network interface