aboutsummaryrefslogtreecommitdiff
path: root/net/xdp
diff options
context:
space:
mode:
authorGravatar Daniel Borkmann <daniel@iogearbox.net> 2018-05-18 22:44:11 +0200
committerGravatar Daniel Borkmann <daniel@iogearbox.net> 2018-05-18 23:09:21 +0200
commitd849f9f9768cf9ba6d68a395c67065522625b27c (patch)
tree9cbbbd101ef09da90f1ab1657c4ec15bb697915d /net/xdp
parentMerge branch 'bpf-nfp-shift-insns' (diff)
parentbpf: add sk_msg prog sk access tests to test_verifier (diff)
downloadlinux-d849f9f9768cf9ba6d68a395c67065522625b27c.tar.gz
linux-d849f9f9768cf9ba6d68a395c67065522625b27c.tar.bz2
linux-d849f9f9768cf9ba6d68a395c67065522625b27c.zip
Merge branch 'bpf-sk-msg-fields'
John Fastabend says: ==================== In this series we add the ability for sk msg programs to read basic sock information about the sock they are attached to. The second patch adds the tests to the selftest test_verifier. One observation that I had from writing this seriess is lots of the ./net/core/filter.c code is almost duplicated across program types. I thought about building a template/macro that we could use as a single block of code to read sock data out for multiple programs, but I wasn't convinced it was worth it yet. The result was using a macro saved a couple lines of code per block but made the code a bit harder to read IMO. We can probably revisit the idea later if we get more duplication. v2: add errstr field to negative test_verifier test cases to ensure we get the expected err string back from the verifier. ==================== Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions