Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix coverity CIDs 157344, 157343, 157341, 157340, 157339, 157336
[vpp.git]
/
plugins
/
acl-plugin
/
acl
/
l2sess_node.c
diff --git
a/plugins/acl-plugin/acl/l2sess_node.c
b/plugins/acl-plugin/acl/l2sess_node.c
index
3e735f4
..
d83029e
100644
(file)
--- a/
plugins/acl-plugin/acl/l2sess_node.c
+++ b/
plugins/acl-plugin/acl/l2sess_node.c
@@
-486,6
+486,9
@@
check_idle_sessions (l2sess_main_t * sm, u32 sw_if_index, u64 now)
#endif
sm->timer_wheel_next_expiring_time = now + sm->timer_wheel_tick;
+ if (PREDICT_FALSE ( 0 == sm->data_from_advancing_timing_wheel )) {
+ return;
+ }
if (PREDICT_FALSE (_vec_len (sm->data_from_advancing_timing_wheel) > 0))
{