summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vswprintf.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2010-03-11 11:33:04 +0000
committerrwatson <rwatson@FreeBSD.org>2010-03-11 11:33:04 +0000
commitf5e6c09363e32732b073cf05f12eed5f9102d340 (patch)
tree6f499d2e91c4957e898985ee8794f0bca3448eaa /lib/libc/stdio/vswprintf.c
parentd5cd04e542083c5c1f5ca5bcaab7d9d14c53f16f (diff)
downloadFreeBSD-src-f5e6c09363e32732b073cf05f12eed5f9102d340.zip
FreeBSD-src-f5e6c09363e32732b073cf05f12eed5f9102d340.tar.gz
Update nfsrv_getsocksndseq() for changes in TCP internals since FreeBSD 6.x:
- so_pcb is now guaranteed to be non-NULL and valid if a valid socket reference is held. - Need to check INP_TIMEWAIT and INP_DROPPED before assuming inp_ppcb is a tcpcb, as it might be a tcptw or NULL otherwise. - tp can never be NULL by the end of the function, so only check TCPS_ESTABLISHED before extracting tcpcb fields. The NFS server arguably incorporates too many assumptions about TCP internals, but fixing that is left for nother day. MFC after: 1 week Reviewed by: bz Reviewed and tested by: rmacklem Sponsored by: Juniper Networks
Diffstat (limited to 'lib/libc/stdio/vswprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud