Xin Long 681d2cfb79 lwtunnel: only keep the available bits when setting vxlan md->gbp
As we can see from vxlan_build/parse_gbp_hdr(), when processing metadata
on vxlan rx/tx path, only dont_learn/policy_applied/policy_id fields can
be set to or parse from the packet for vxlan gbp option.

So do the mask when set it in lwtunnel, as it does in act_tunnel_key and
cls_flower.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-14 16:49:39 -07:00
..
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-07-13 17:20:39 -07:00
2020-07-24 17:12:41 -07:00
2020-03-30 13:45:04 -07:00
2020-07-24 17:12:41 -07:00
2020-07-27 11:39:55 -07:00
2020-08-27 07:55:59 -07:00
2020-03-16 18:26:54 -07:00
2020-07-13 17:20:39 -07:00
2020-03-16 18:26:55 -07:00