Skip to content

Commit f5bffec

Browse files
Alexei Starovoitovdavem330
authored andcommitted
net: filter: split filter.c into two files
BPF is used in several kernel components. This split creates logical boundary between generic eBPF core and the rest kernel/bpf/core.c: eBPF interpreter net/core/filter.c: classic->eBPF converter, classic verifiers, socket filters This patch only moves functions. Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8942a6d commit f5bffec

4 files changed

Lines changed: 538 additions & 511 deletions

File tree

‎kernel/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ obj-$(CONFIG_RING_BUFFER) += trace/
8787
obj-$(CONFIG_TRACEPOINTS) += trace/
8888
obj-$(CONFIG_IRQ_WORK) += irq_work.o
8989
obj-$(CONFIG_CPU_PM) += cpu_pm.o
90+
obj-$(CONFIG_NET) += bpf/
9091

9192
obj-$(CONFIG_PERF_EVENTS) += events/
9293

‎kernel/bpf/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
obj-y := core.o

0 commit comments

Comments
 (0)