udp: include addrconf.h
authorEric Dumazet <edumazet@google.com>
Thu, 18 Aug 2016 16:59:12 +0000 (09:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2016 00:06:58 +0000 (17:06 -0700)
Include ipv4_rcv_saddr_equal() definition to avoid this sparse error :

net/ipv4/udp.c:362:5: warning: symbol 'ipv4_rcv_saddr_equal' was not
declared. Should it be static?

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c

index e61f7cd..8f5f7f6 100644 (file)
 #include <net/busy_poll.h>
 #include "udp_impl.h"
 #include <net/sock_reuseport.h>
+#include <net/addrconf.h>
 
 struct udp_table udp_table __read_mostly;
 EXPORT_SYMBOL(udp_table);