Date: Sun, 23 Apr 2006 15:06:16 +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/netinet6 in6_ifattach.c in6_pcb.c in6_pcb.h Message-ID: <200604231506.k3NF6GwD063749@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-04-23 15:06:16 UTC
FreeBSD src repository
Modified files:
sys/netinet6 in6_ifattach.c in6_pcb.c in6_pcb.h
Log:
Modify in6_pcbpurgeif0() to accept a pcbinfo structure rather than a pcb
list head structure; this improves congruence to IPv4, and also allows
in6_pcbpurgeif0() to lock the pcbinfo. Modify in6_pcbpurgeif0() to lock
the pcbinfo before iterating the pcb list, use queue(9)'s LIST_FOREACH()
for the iteration, and to lock individual inpcb's while manipulating
them.
MFC after: 3 months
Revision Changes Path
1.32 +2 -4 src/sys/netinet6/in6_ifattach.c
1.69 +7 -3 src/sys/netinet6/in6_pcb.c
1.18 +1 -1 src/sys/netinet6/in6_pcb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604231506.k3NF6GwD063749>
