Skip to content

af_unix: MSG_OOB handling fix & selftest

Michal Luczaj bpf netdev 4 versions – Applied

Status from this message: This series was applied to bpf/bpf.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 6 repliesApplied 4/4
  2. v34 patches 22 repliesSuperseded
  3. v21 patch 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhashnet/unix/af_unix.c net/unix/unix_bpf.c+43 -10 repliesApplied
2/4selftest/bpf: Support SOCK_STREAM in unix_inet_redir_to_connected()tools/testing/selftests/bpf/prog_tests/sockmap_listen.c+1 -20 repliesApplied
3/4selftest/bpf: Parametrize AF_UNIX redir functions to accept send() flagstools/testing/selftests/bpf/prog_tests/sockmap_listen.c+26 -221 replyApplied
4/4selftest/bpf: Test sockmap redirect for AF_UNIX MSG_OOBtools/testing/selftests/bpf/prog_tests/sockmap_listen.c+33 -31 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKuniyuki IwashimaJakub Sitnicki
SeriesT-b
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH bpf v4 0/4] af_unix: MSG_OOB handling fix & selftest

PATCH 1/4 tells BPF redirect to silently drop AF_UNIX's MSG_OOB. The rest is selftest-related.

Michal Luczaj (4):
af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhash selftest/bpf: Support SOCK_STREAM in unix_inet_redir_to_connected() selftest/bpf: Parametrize AF_UNIX redir functions to accept send()
flags
selftest/bpf: Test sockmap redirect for AF_UNIX MSG_OOB

 net/unix/af_unix.c                            | 41 ++++++++-
 net/unix/unix_bpf.c                           |  3 +
 .../selftests/bpf/prog_tests/sockmap_listen.c | 85 +++++++++++++------
 3 files changed, 102 insertions(+), 27 deletions(-)
Signature · 1 line
2.45.2