]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: move udp declarations to net/udp.h
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 3 Feb 2021 13:51:10 +0000 (15:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Feb 2021 02:37:57 +0000 (18:37 -0800)
commit5c295b05248dfb31dd870a6010e7d6e0f8748d4f
treeefc61971b8ec9e3ee1973e0b38e275f5bbced6d3
parent8199a5640d20ac9e72e62765c2ff90a9c560c8a1
ipv6: move udp declarations to net/udp.h

Fix the following compilation warning:

net/ipv6/udp.c:1031:30: warning: no previous prototype for 'udp_v6_early_demux' [-Wmissing-prototypes]
 1031 | INDIRECT_CALLABLE_SCOPE void udp_v6_early_demux(struct sk_buff *skb)
      |                              ^~~~~~~~~~~~~~~~~~
net/ipv6/udp.c:1072:29: warning: no previous prototype for 'udpv6_rcv' [-Wmissing-prototypes]
 1072 | INDIRECT_CALLABLE_SCOPE int udpv6_rcv(struct sk_buff *skb)
      |                             ^~~~~~~~~

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/udp.h
net/ipv6/ip6_input.c