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(-) -- 2.1.0