cvs commit: src/sys/netinet6 in6_ifattach.c in6_pcb.c in6_pcb.h
Robert Watson
rwatson at FreeBSD.org
Sun Apr 23 15:06:17 UTC 2006
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
More information about the cvs-src
mailing list