Date: Mon, 3 Apr 2006 13:33:56 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_subr.c Message-ID: <200604031333.k33DXu8J097548@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604031333.k33DXu8J097548>