slirp: don't crash when tcp_sockclosed() is called with a NULL tp
commitb5ab677189b93efa4eaa921f42b21dc008247184
authorSteven Luo <steven+qemu@steven676.net>
Thu, 7 Apr 2016 05:04:21 +0000 (6 22:04 -0700)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 7 Apr 2016 08:27:22 +0000 (7 10:27 +0200)
tree03958dcffaa7001d060802bfb9ae6ae23e2301c8
parent7acbff99c6c285b3070bf0e768d56f511e2bf346
slirp: don't crash when tcp_sockclosed() is called with a NULL tp

Signed-off-by: Steven Luo <steven+qemu@steven676.net>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/tcp_subr.c