projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ebpf: add helper for obtaining current processor id
[deliverable/linux.git]
/
net
/
core
/
filter.c
diff --git
a/net/core/filter.c
b/net/core/filter.c
index 4344db39af2e1038f23702a626a227d8d64aa4b2..33310eee613483398f35d44a33d67f537f0e883b 100644
(file)
--- a/
net/core/filter.c
+++ b/
net/core/filter.c
@@
-1141,6
+1141,8
@@
sk_filter_func_proto(enum bpf_func_id func_id)
return &bpf_map_delete_elem_proto;
case BPF_FUNC_get_prandom_u32:
return &bpf_get_prandom_u32_proto;
+ case BPF_FUNC_get_smp_processor_id:
+ return &bpf_get_smp_processor_id_proto;
default:
return NULL;
}
This page took
0.026772 seconds
and
5
git commands to generate.