From bb580846dc1dca9bc934507f3a2e0cbef317e092 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sat, 23 Aug 2008 12:27:18 +0000 Subject: [PATCH] Add an explicit comment why we NULLify the two variables. Reviewed by: rwatson MFC after: 3 days --- sys/netinet/tcp_syncache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index df2a682cda81..99f12c2640ff 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -1034,6 +1034,7 @@ _syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th, sb_hiwat = so->so_rcv.sb_hiwat; noopt = (tp->t_flags & TF_NOOPT); + /* By the time we drop the lock these should no longer be used. */ so = NULL; tp = NULL;