From: Thomas Graf Date: Mon, 29 Jul 2013 11:44:15 +0000 (+0200) Subject: pktgen: Require CONFIG_INET due to use of IPv4 checksum function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ffd756b3174e496cf6f3c5458c434e31d2cd48b0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- diff --git a/net/Kconfig b/net/Kconfig index 37702491abe9..37162eb88f07 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