ipv6: Fix socket connection with DSCP fib-rules.
Status from this message: This series was applied to netdev/net.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ipv6: Fix datagram socket connection with DSCP.net/ | +1 | 2 replies | Applied |
| 2/3 | ipv6: Fix tcp socket connection with DSCP.net/ | +1 | 2 replies | Applied |
| 3/3 | selftests: fib_rule_tests: Test UDP and TCP connections with DSCP rules.tools/ tools/ | +177 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet | David Ahern |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/3] ipv6: Fix socket connection with DSCP fib-rules.
The "flowlabel" field of struct flowi6 is used to store both the actual flow label and the DS Field (or Traffic Class). However the .connect handlers of datagram and TCP sockets don't set the DS Field part when doing their route lookup. This breaks fib-rules that match on DSCP.
Guillaume Nault (3):
ipv6: Fix datagram socket connect with DSCP.
ipv6: Fix tcp socket connect with DSCP.
selftests: fib_rule_tests: Test UDP and TCP connections with DSCP
rules.
net/ipv6/datagram.c | 2 +- net/ipv6/tcp_ipv6.c | 1 + tools/testing/selftests/net/fib_rule_tests.sh | 128 +++++++++++++++++- tools/testing/selftests/net/nettest.c | 51 ++++++- 4 files changed, 179 insertions(+), 3 deletions(-)
Signature · 1 line
2.30.2