tcp: fix tcp_connection_cleanup() with uninitialized elog 74/28074/3
authorIvan Shvedunov <ivan4th@gmail.com>
Mon, 27 Jul 2020 16:59:38 +0000 (19:59 +0300)
committerIvan Shvedunov <ivan4th@gmail.com>
Mon, 27 Jul 2020 17:16:46 +0000 (20:16 +0300)
commit9fefa89169d296bff41a815fbefed2b41b1a4bb8
tree29fd6e60d633177ae7bf5f533a3c72979a8018eb
parentc72995dd79500dd5791e71fd3edeae527c257351
tcp: fix tcp_connection_cleanup() with uninitialized elog

This fixes TCP connection cleanup crash when TCP debugging is enabled.
It could happen if session_stream_accept() returned an error.

Type: fix

Signed-off-by: Ivan Shvedunov <ivan4th@gmail.com>
Change-Id: I0df08969d82bb0f44def81b9e47195bd15502831
src/vnet/tcp/tcp_input.c