Add an explicit comment why we NULLify the two variables.

Reviewed by:	rwatson
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2008-08-23 12:27:18 +00:00
parent 632ed478b0
commit bb580846dc

View File

@ -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;