Skip to content

net: improve vxlan option process in net_sched and lwtunnel

Xin Long netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: sched: only keep the available bits when setting vxlan md->gbpinclude/net/vxlan.h net/sched/act_tunnel_key.c net/sched/cls_flower.c+7 -10 replies
2/2lwtunnel: only keep the available bits when setting vxlan md->gbpnet/ipv4/ip_tunnel_core.c+1 -00 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/2] net: improve vxlan option process in net_sched and lwtunnel

This patch is to do some mask when setting vxlan option in net_sched and lwtunnel, so that only available bits can be set on vxlan md gbp.

This would help when users don't know exactly vxlan's gbp bits, and avoid some mismatch because of some unavailable bits set by users.

Xin Long (2):
net: sched: only keep the available bits when setting vxlan md->gbp
lwtunnel: only keep the available bits when setting vxlan md->gbp

 include/net/vxlan.h        | 3 +++
 net/ipv4/ip_tunnel_core.c  | 1 +
 net/sched/act_tunnel_key.c | 1 +
 net/sched/cls_flower.c     | 4 +++-
 4 files changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.0