]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: make function xdp_do_generic_redirect_map() static
authorXiongwei Song <sxwjean@gmail.com>
Mon, 18 Dec 2017 23:17:15 +0000 (07:17 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 19 Dec 2017 00:37:16 +0000 (01:37 +0100)
commit0e6968b630ae40a79d4ed791f4b9527210ac577f
tree1a0c6ef160a963fabd2bed465e5fca1786337a26
parent48a07b7fdf153c73fcbbaacf467f69af87fd3431
bpf: make function xdp_do_generic_redirect_map() static

The function xdp_do_generic_redirect_map() is only used in this file, so
make it static.

Clean up sparse warning:
net/core/filter.c:2687:5: warning: no previous prototype
for 'xdp_do_generic_redirect_map' [-Wmissing-prototypes]

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/core/filter.c