diff options
author | bz <bz@FreeBSD.org> | 2008-08-23 12:27:18 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-08-23 12:27:18 +0000 |
commit | 9c1b35c579df4fc03db919b805e2dbb5dc3c540f (patch) | |
tree | 5e1a13d8ae3fec07a032c3e4399140a22df3e648 /sys/netinet/tcp_syncache.c | |
parent | 3ad7bc21bd89fb83dd094fda410d0fb38c922ae4 (diff) | |
download | FreeBSD-src-9c1b35c579df4fc03db919b805e2dbb5dc3c540f.zip FreeBSD-src-9c1b35c579df4fc03db919b805e2dbb5dc3c540f.tar.gz |
Add an explicit comment why we NULLify the two variables.
Reviewed by: rwatson
MFC after: 3 days
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r-- | sys/netinet/tcp_syncache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index df2a682..99f12c2 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; |