Skip to content

udp6: allow SO_MARK ctrl msg to affect routing

Jakub Kicinski linux-kselftest netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2udp6: allow SO_MARK ctrl msg to affect routingnet/ipv6/udp.c+1 -12 repliesApplied
2/2selftests: udp: test for passing SO_MARK as cmsgtools/testing/selftests/net/.gitignore tools/testing/selftests/net/Makefile tools/testing/selftests/net/cmsg_so_mark.c +1 more+131 -02 repliesApplied

Reviews trailers per patch

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

PatchXintong HuDavid AhernWillem de Bruijn
1/2Reported-and-tested-by R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net 0/2] udp6: allow SO_MARK ctrl msg to affect routing

Hi!

Looks like SO_MARK from cmsg does not affect routing policy. This seems accidental.

I opted for net because of the discrepancy between IPv4 and IPv6, but it never worked and doesn't cause crashes..

Jakub Kicinski (2):
udp6: allow SO_MARK ctrl msg to affect routing
selftests: udp: test for passing SO_MARK as cmsg

 net/ipv6/udp.c                              |  2 +-
 tools/testing/selftests/net/.gitignore      |  1 +
 tools/testing/selftests/net/Makefile        |  2 +
 tools/testing/selftests/net/cmsg_so_mark.c  | 67 +++++++++++++++++++++
 tools/testing/selftests/net/cmsg_so_mark.sh | 61 +++++++++++++++++++
 5 files changed, 132 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/net/cmsg_so_mark.c
 create mode 100755 tools/testing/selftests/net/cmsg_so_mark.sh

base-commit: 6de6e46d27ef386feecdbea56b3bfd6c3b3bc1f9

Signature · 1 line
2.31.1