diff options
author | Toomas Soome <tsoome@me.com> | 2019-12-28 14:24:51 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-03-06 22:24:46 +0200 |
commit | ab82c29b6e890d0f1241f9cd0cefda3430f46bd5 (patch) | |
tree | c92a3cf4e429e07611fa33c047acc0de4eb4fa42 /usr/src/uts/common/inet/tcp/tcp_misc.c | |
parent | 7d8deab2c421c563ab11a55e623ed48109e237af (diff) | |
download | illumos-gate-ab82c29b6e890d0f1241f9cd0cefda3430f46bd5.tar.gz |
12173 ip: variable may be used uninitialized in this function
Reviewed by: Dan McDonald <danmcd@joyent.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp_misc.c')
-rw-r--r-- | usr/src/uts/common/inet/tcp/tcp_misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp_misc.c b/usr/src/uts/common/inet/tcp/tcp_misc.c index 4f6399c433..0896dd7611 100644 --- a/usr/src/uts/common/inet/tcp/tcp_misc.c +++ b/usr/src/uts/common/inet/tcp/tcp_misc.c @@ -291,6 +291,7 @@ tcp_ioctl_abort_bucket(tcp_ioc_abort_conn_t *acp, int index, int *count, startover: nmatch = 0; + last = NULL; mutex_enter(&connfp->connf_lock); for (tconnp = connfp->connf_head; tconnp != NULL; |