瀏覽代碼

ipv6: compile fix for ip6mr.c

net/ipv6/ip6mr.c: In function 'pim6_rcv':
net/ipv6/ip6mr.c:368: error: implicit declaration of function 'csum_ipv6_magic'

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Dave Jones 16 年之前
父節點
當前提交
5d6e430d3b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/ipv6/ip6mr.c

+ 1 - 0
net/ipv6/ip6mr.c

@@ -48,6 +48,7 @@
 #include <linux/pim.h>
 #include <linux/pim.h>
 #include <net/addrconf.h>
 #include <net/addrconf.h>
 #include <linux/netfilter_ipv6.h>
 #include <linux/netfilter_ipv6.h>
+#include <net/ip6_checksum.h>
 
 
 /* Big lock, protecting vif table, mrt cache and mroute socket state.
 /* Big lock, protecting vif table, mrt cache and mroute socket state.
    Note that the changes are semaphored via rtnl_lock.
    Note that the changes are semaphored via rtnl_lock.