Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
efb6483
)
vcl: validate closed sessions on disconnect and reset
02/34702/3
author
Florin Coras
<
[email protected]
>
Wed, 8 Dec 2021 19:03:08 +0000
(11:03 -0800)
committer
Florin Coras
<
[email protected]
>
Wed, 8 Dec 2021 18:53:36 +0000
(18:53 +0000)
Type: fix
Signed-off-by: Florin Coras <
[email protected]
>
Change-Id: I0375d639e979e29d287dc9fee16b0434fb5c788b
src/vcl/vppcom.c
patch
|
blob
|
history
diff --git
a/src/vcl/vppcom.c
b/src/vcl/vppcom.c
index
aa5bf5c
..
44543bb
100644
(file)
--- a/
src/vcl/vppcom.c
+++ b/
src/vcl/vppcom.c
@@
-3016,7
+3016,7
@@
vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e,
if (vcl_session_is_closed (s) ||
!(s->flags & VCL_SESSION_F_IS_VEP_SESSION))
{
- if (s
->flags & VCL_SESSION_F_PENDING_FREE
)
+ if (s
&& (s->flags & VCL_SESSION_F_PENDING_FREE)
)
vcl_session_free (wrk, s);
break;
}
@@
-3056,7
+3056,7
@@
vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e,
if (vcl_session_is_closed (s) ||
!(s->flags & VCL_SESSION_F_IS_VEP_SESSION))
{
- if (s
->flags & VCL_SESSION_F_PENDING_FREE
)
+ if (s
&& (s->flags & VCL_SESSION_F_PENDING_FREE)
)
vcl_session_free (wrk, s);
break;
}