diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2020-11-25 10:51:57 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2021-02-02 18:41:33 +0100 |
commit | b3528fbb08da705a4e7c9f0f3a7f2109f7f35404 (patch) | |
tree | 725f5e12769f8a84b14c904a87b1f92022002319 | |
parent | d9f29982eefc05ff444dd5a385199b56d7f8be61 (diff) | |
download | openvswitch-b3528fbb08da705a4e7c9f0f3a7f2109f7f35404.tar.gz |
tc: Fix mpls bottom of stack bit mask reporting.
Fix the reported back value of the bos mask used by the revalidator
threads.
Fixes: 34b1695506f8 ("lib/tc: add single mpls match offload support")
Reported-by: Marcelo Leitner <mleitner@redhat.com>
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
-rw-r--r-- | lib/tc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -424,7 +424,7 @@ nl_parse_flower_mpls(struct nlattr **attrs, struct tc_flower *flower) if (attrs[TCA_FLOWER_KEY_MPLS_BOS]) { bos = nl_attr_get_u8(attrs[TCA_FLOWER_KEY_MPLS_BOS]); set_mpls_lse_bos(&flower->key.mpls_lse, bos); - set_mpls_lse_ttl(&flower->mask.mpls_lse, 0xff); + set_mpls_lse_bos(&flower->mask.mpls_lse, 0xff); } if (attrs[TCA_FLOWER_KEY_MPLS_TC]) { |