Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
session: support close during migration
[vpp.git]
/
src
/
vnet
/
udp
/
udp.c
diff --git
a/src/vnet/udp/udp.c
b/src/vnet/udp/udp.c
index
b27f0d7
..
260ea9b
100644
(file)
--- a/
src/vnet/udp/udp.c
+++ b/
src/vnet/udp/udp.c
@@
-281,7
+281,7
@@
udp_session_close (u32 connection_index, u32 thread_index)
udp_connection_t *uc;
uc = udp_connection_get (connection_index, thread_index);
- if (!uc)
+ if (!uc
|| (uc->flags & UDP_CONN_F_MIGRATED)
)
return;
if (!transport_max_tx_dequeue (&uc->connection))