Add an explicit comment why we NULLify the two variables.
Reviewed by: rwatson MFC after: 3 days
This commit is contained in:
parent
632ed478b0
commit
bb580846dc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user