diff mbox series

[RFC] bpf: bpf_push_seg6_encap() can be static

Message ID 20180426134525.GA1189@lkp-ne02
State RFC, archived
Delegated to: BPF Maintainers
Headers show
Series [RFC] bpf: bpf_push_seg6_encap() can be static | expand

Commit Message

kernel test robot April 26, 2018, 1:45 p.m. UTC
Fixes: 14ab8554dc46 ("bpf: Add IPv6 Segment Routing helpers")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 filter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/core/filter.c b/net/core/filter.c
index 8e67c42..4d1204f 100644
--- a/net/core/filter.c
+++ b/net/core/filter.c
@@ -3725,7 +3725,7 @@  static const struct bpf_func_proto bpf_bind_proto = {
 	.arg3_type	= ARG_CONST_SIZE,
 };
 
-int bpf_push_seg6_encap(struct sk_buff *skb, u32 type, void *hdr, u32 len)
+static int bpf_push_seg6_encap(struct sk_buff *skb, u32 type, void *hdr, u32 len)
 {
 	int err;
 	struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)hdr;