]> 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)
commit3730c54fc7728c03bf2b7c744b9e9d78e4274375
tree44ae73f8c794e52f281830650e87b843cd6743d9
parentf33dbcdd90b78fbcf54dd8b43b7521dca34ebc2d
parent78242ca0eedb7b8c22f0904e3405ebb4aab72879
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>