Robert Watson 2684bef615 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
2010-03-11 11:33:04 +00:00
..
2010-03-09 00:50:58 +00:00
2010-03-06 20:03:26 +00:00
2010-03-07 10:43:45 +00:00
2010-01-06 05:58:07 +00:00
2010-02-18 22:34:29 +00:00
2010-02-18 22:10:55 +00:00
2010-03-05 11:11:42 +00:00
2010-03-10 20:30:51 +00:00
2010-02-21 01:12:18 +00:00