cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_subr.c
Robert Watson
rwatson at FreeBSD.org
Mon Apr 3 13:33:56 UTC 2006
rwatson 2006-04-03 13:33:56 UTC
FreeBSD src repository
Modified files:
sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_subr.c
Log:
Change inp_ppcb from caddr_t to void *, fix/remove associated related
casts.
Consistently use intotw() to cast inp_ppcb pointers to struct tcptw *
pointers.
Consistently use intotcpcb() to cast inp_ppcb pointers to struct tcpcb *
pointers.
Don't assign tp to the results to intotcpcb() during variable declation
at the top of functions, as that is before the asserts relating to
locking have been performed. Do this later in the function after
appropriate assertions have run to allow that operation to be conisdered
safe.
MFC after: 3 months
Revision Changes Path
1.171 +4 -2 src/sys/netinet/in_pcb.c
1.87 +1 -1 src/sys/netinet/in_pcb.h
1.294 +1 -2 src/sys/netinet/tcp_input.c
1.243 +10 -7 src/sys/netinet/tcp_subr.c
More information about the cvs-src
mailing list