]> git.baikalelectronics.ru Git - kernel.git/commit
udp: make *udp*_queue_rcv_skb() functions static
authorPaolo Abeni <pabeni@redhat.com>
Wed, 17 May 2017 12:52:16 +0000 (14:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 14:23:33 +0000 (10:23 -0400)
commit3521c71aad0f608565901f8ba3d4f8a153b89850
tree0318561beba91832f5fd596d35682762399a09e6
parent535f6bfe9e1f8a5716dbe72db65ad93ed9d7fc84
udp: make *udp*_queue_rcv_skb() functions static

Since the udp memory accounting refactor, we don't need any more
to export the *udp*_queue_rcv_skb(). Make them static and fix
a couple of sparse warnings:

net/ipv4/udp.c:1615:5: warning: symbol 'udp_queue_rcv_skb' was not
declared. Should it be static?
net/ipv6/udp.c:572:5: warning: symbol 'udpv6_queue_rcv_skb' was not
declared. Should it be static?

Fixes: 85f287938f7f ("udp: use it's own memory accounting schema")
Fixes: 095fa7ce76f9 ("udplite: fix NULL pointer dereference")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv4/udp_impl.h
net/ipv6/udp.c
net/ipv6/udp_impl.h