From: Stephen Rothwell Date: Mon, 29 Jul 2013 06:21:26 +0000 (+1000) Subject: pktgen: add needed include file X-Git-Tag: firefly_0821_release~176^2~5420^2~444 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=73d94e9481a20817abe2f1b41ee441bb4f6461f7;p=firefly-linux-kernel-4.4.55.git pktgen: add needed include file Fixes this on PowerPC (at least): net/core/pktgen.c: In function 'fill_packet_ipv6': net/core/pktgen.c:2906:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] udph->check = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, udplen, IPPROTO_UDP, 0); ^ Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 2dec6f1b0cd7..261357a66300 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -161,6 +161,7 @@ #include #include #include +#include #include #ifdef CONFIG_XFRM #include