Skip to content

Commit 2c96932

Browse files
sfrothwelldavem330
authored andcommitted
netfilter: ipv6: using csum_ipv6_magic requires net/ip6_checksum.h
Fixes this build error: net/ipv6/netfilter/nf_nat_l3proto_ipv6.c: In function 'nf_nat_ipv6_csum_recalc': net/ipv6/netfilter/nf_nat_l3proto_ipv6.c:144:4: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 840f300 commit 2c96932

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ipv6/netfilter/nf_nat_l3proto_ipv6.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/netfilter_ipv6.h>
1616
#include <net/secure_seq.h>
1717
#include <net/checksum.h>
18+
#include <net/ip6_checksum.h>
1819
#include <net/ip6_route.h>
1920
#include <net/ipv6.h>
2021

0 commit comments

Comments
 (0)