diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2012-11-15 11:35:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-15 22:48:32 -0500 |
commit | d4d0d3557b4d6ee735fbec275803d637ee26b42d (patch) | |
tree | 5f47289c4b81cd694b7807773442327c49ee4ba1 /net/ipv6 | |
parent | 751a97d79950bf82e83f57f6e16d96418a2789f8 (diff) |
ipv6: Fix build error with udp_offload
Add ip6_checksum.h include. This should resolve the following issue
that shows up on power:
net/ipv6/udp_offload.c: In function 'udp6_ufo_send_check':
net/ipv6/udp_offload.c:29:2: error: implicit declaration of function
'csum_ipv6_magic' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/udp_offload.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/udp_offload.c b/net/ipv6/udp_offload.c index 8e01c44a987c..0c8934a317c2 100644 --- a/net/ipv6/udp_offload.c +++ b/net/ipv6/udp_offload.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <net/protocol.h> | 13 | #include <net/protocol.h> |
14 | #include <net/ipv6.h> | 14 | #include <net/ipv6.h> |
15 | #include <net/udp.h> | 15 | #include <net/udp.h> |
16 | #include <net/ip6_checksum.h> | ||
16 | #include "ip6_offload.h" | 17 | #include "ip6_offload.h" |
17 | 18 | ||
18 | static int udp6_ufo_send_check(struct sk_buff *skb) | 19 | static int udp6_ufo_send_check(struct sk_buff *skb) |