aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEyal Bari <ebari@cisco.com>2018-07-19 14:12:40 +0300
committerNeale Ranns <nranns@cisco.com>2018-07-19 18:02:43 +0000
commita17158b8723ea9b0e553821dde338969290d33e7 (patch)
tree1690df017e152c84a655762a282f8fd400277dc7
parent8a03e4f97952d84e152f5b17d5325583604c4fd3 (diff)
qos record:fix disable on interface delete
handle the case where qos record was enabled more than once Change-Id: Ic901b2f5b400751e82d57655983d10457ec62243 Signed-off-by: Eyal Bari <ebari@cisco.com>
-rw-r--r--src/vnet/qos/qos_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/qos/qos_record.c b/src/vnet/qos/qos_record.c
index 7181e3bf599..b05cfe670b5 100644
--- a/src/vnet/qos/qos_record.c
+++ b/src/vnet/qos/qos_record.c
@@ -98,7 +98,7 @@ qos_record_ip_interface_add_del (vnet_main_t * vnm,
FOR_EACH_QOS_SOURCE (qs)
{
- qos_record_disable (sw_if_index, qs);
+ while (qos_record_disable (sw_if_index, qs) == 0);
}
}