Skip to content

flowi6_tos fixes

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vxlan: fix populating tclass in vxlan6_get_routedrivers/net/vxlan.c include/net/ipv6.h+7 -20 replies
2/3geneve: fix populating tclass in geneve_get_v6_dstdrivers/net/geneve.c+6 -50 replies
3/3ipv6, trace: fix tos reporting on fib6_table_lookupinclude/net/flow.h include/trace/events/fib6.h+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/3] flowi6_tos fixes

This set is a follow-up to address Jiri's recent feedback [1] on the flowi6_tos issue, that it is not used for IPv6 route lookups. The three patches fix all current users of flowi6_tos and remove the define to avoid any future confusion on this. Tested the vxlan and geneve ones with IPv6 routing rules. For details, please see individual patches.

[ As fixes are currently applied against net-next tree, I've rebased
it against that. ]

Thanks!

[1] http://patchwork.ozlabs.org/patch/592055/

Daniel Borkmann (3):
vxlan: fix populating tclass in vxlan6_get_route
geneve: fix populating tclass in geneve_get_v6_dst ipv6, trace: fix tos reporting on fib6_table_lookup

 drivers/net/geneve.c        | 11 ++++++-----
 drivers/net/vxlan.c         |  3 +--
 include/net/flow.h          |  2 +-
 include/net/ipv6.h          |  6 ++++++
 include/trace/events/fib6.h |  2 +-
 5 files changed, 15 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.3