]> 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)
commit8053c830be649bc479d16162e0193e3cbbe0bd2c
tree0318561beba91832f5fd596d35682762399a09e6
parent607581a5cd780dbd3b9f1d5cd69a1d4a96a6caaa
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: 984a887fc79e ("udp: use it's own memory accounting schema")
Fixes: 19f89529d602 ("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