Thread (2 messages) flat view 2 messages, 2 authors, 2015-10-12

Re: [PATCH iproute2 -next] m_bpf: don't require default opcode on ebpf actions

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2015-10-12 16:45:19

On Thu,  8 Oct 2015 15:22:05 +0200
Daniel Borkmann [off-list ref] wrote:
After the patch, the most minimal command to load an eBPF action
for late binding with auto index selection through tc is:

  tc actions add action bpf obj prog.o

We already set TC_ACT_PIPE in tc as default opcode, so if nothing
further has been specified, just use it. Also, allow "ok" next to
"pass" for matching cmdline on TC_ACT_OK.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Applied to net-next
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help