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 e61f7cd65d08a478f4b4f4d60841688b89bb1f2d..8f5f7f6026f7fd8d157a2855334bf9cdf453cdee 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);