diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-07-29 16:21:26 +1000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-29 00:47:14 -0700 |
commit | 73d94e9481a20817abe2f1b41ee441bb4f6461f7 (patch) | |
tree | 8d0a77f4a0e16f548c8b1b9c31300f3953036a20 /net/core/pktgen.c | |
parent | 34d073fcd3dd79207e65e87fd2e5ffdd9cd1b957 (diff) |
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 <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <net/checksum.h> #include <net/ipv6.h> #include <net/udp.h> +#include <net/ip6_checksum.h> #include <net/addrconf.h> #ifdef CONFIG_XFRM #include <net/xfrm.h> |