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:
7528245
)
bfd:fix NULL session free/put
04/14104/2
author
Eyal Bari
<ebari@cisco.com>
Thu, 9 Aug 2018 09:50:08 +0000
(12:50 +0300)
committer
Neale Ranns
<nranns@cisco.com>
Thu, 9 Aug 2018 11:58:14 +0000
(11:58 +0000)
Change-Id: If9f1f8c16c098c453bb53591e50a4cbd7cb192e4
Signed-off-by: Eyal Bari <ebari@cisco.com>
src/vnet/bfd/bfd_udp.c
patch
|
blob
|
history
diff --git
a/src/vnet/bfd/bfd_udp.c
b/src/vnet/bfd/bfd_udp.c
index
fa696aa
..
e05f10f
100644
(file)
--- a/
src/vnet/bfd/bfd_udp.c
+++ b/
src/vnet/bfd/bfd_udp.c
@@
-473,7
+473,6
@@
bfd_udp_add_session_internal (bfd_udp_main_t * bum, u32 sw_if_index,
bfd_session_t *bs = bfd_get_session (bum->bfd_main, t);
if (!bs)
{
- bfd_put_session (bum->bfd_main, bs);
return VNET_API_ERROR_BFD_EAGAIN;
}
bfd_udp_session_t *bus = &bs->udp;