]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-sockmap-ingress'
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 29 Mar 2018 22:09:44 +0000 (00:09 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 29 Mar 2018 22:09:45 +0000 (00:09 +0200)
commit4a84c4b82c66bd74040165335d069dedf0ff4f97
tree44ae73f8c794e52f281830650e87b843cd6743d9
parentdd5d4b75c416faf21f688a8d119dfffe27cecb6c
parent50fade22df104052fb1d1b78345075b0932b71e1
Merge branch 'bpf-sockmap-ingress'

John Fastabend says:

====================
This series adds the BPF_F_INGRESS flag support to the redirect APIs.
Bringing the sockmap API in-line with the cls_bpf redirect APIs.

We add it to both variants of sockmap programs, the first patch adds
support for tx ulp hooks and the third patch adds support for the recv
skb hooks. Patches two and four add tests for the corresponding
ingress redirect hooks.

Follow on patches can address busy polling support, but next series
from me will move the sockmap sample program into selftests.

v2: added static to function definition caught by kbuild bot
v3: fixed an error branch with missing mem_uncharge
    in recvmsg op moved receive_queue check outside of RCU region
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>