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)
commita3f96c47c8d4c38be71fdbb440a99968c764ba62
tree0318561beba91832f5fd596d35682762399a09e6
parenta285860211bf257b0e6d522dac6006794be348af
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: 850cbaddb52d ("udp: use it's own memory accounting schema")
Fixes: c915fe13cbaa ("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