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:
6f392fe
)
quic: remove redundant function calls
51/28151/6
author
Dave Wallace
<
[email protected]
>
Wed, 30 Oct 2019 23:40:33 +0000
(23:40 +0000)
committer
Andrew Yourtchenko
<
[email protected]
>
Fri, 7 Aug 2020 21:45:43 +0000
(21:45 +0000)
- session_transport_delete_notify() is called before
and inside quic_connection_delete()
Type: fix
Signed-off-by: Dave Wallace <
[email protected]
>
Change-Id: I5c79a3269e36c4aab5aa99fdfdac06c1334f0f6f
(cherry picked from commit
34d92ebde67efb96784e0360f25a3b3c3b86b8f0
)
src/plugins/quic/quic.c
patch
|
blob
|
history
diff --git
a/src/plugins/quic/quic.c
b/src/plugins/quic/quic.c
index
f9c7e6b
..
56e9945
100644
(file)
--- a/
src/plugins/quic/quic.c
+++ b/
src/plugins/quic/quic.c
@@
-304,14
+304,12
@@
quic_connection_closed (quic_ctx_t * ctx)
break;
case QUIC_CONN_STATE_PASSIVE_CLOSING_APP_CLOSED:
/* App already confirmed close, we can delete the connection */
- session_transport_delete_notify (&ctx->connection);
quic_connection_delete (ctx);
break;
case QUIC_CONN_STATE_PASSIVE_CLOSING_QUIC_CLOSED:
QUIC_DBG (0, "BUG");
break;
case QUIC_CONN_STATE_ACTIVE_CLOSING:
- session_transport_delete_notify (&ctx->connection);
quic_connection_delete (ctx);
break;
default: