[PATCH net] udp: include addrconf.h

Subsystems: networking [general], the rest, user datagram protocol (udp)

STALE3650d

2 messages, 2 authors, 2016-08-20 · open the first message on its own page

[PATCH net] udp: include addrconf.h

From: Eric Dumazet <hidden>
Date: 2016-08-19 02:11:16

From: Eric Dumazet <edumazet@google.com>

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>
---
 net/ipv4/udp.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index e61f7cd65d08..8f5f7f6026f7 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -114,6 +114,7 @@
 #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);

Re: [PATCH net] udp: include addrconf.h

From: David Miller <davem@davemloft.net>
Date: 2016-08-20 00:08:33

From: Eric Dumazet <redacted>
Date: Thu, 18 Aug 2016 09:59:12 -0700
From: Eric Dumazet <edumazet@google.com>

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>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help