Date: Fri, 26 Jun 2009 00:36:47 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if.c if_var.h Message-ID: <200906260037.n5Q0b9S7008896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-06-26 00:36:47 UTC
FreeBSD src repository
Modified files:
sys/net if.c if_var.h
Log:
SVN rev 195020 on 2009-06-26 00:36:47Z by rwatson
Define four wrapper functions for interface address locking,
if_addr_rlock() and if_addr_runlock() for regular address lists, and
if_maddr_rlock() and if_maddr_runlock() for multicast address lists.
We will use these in various kernel modules to avoid encoding specific
type and locking strategy information into modules that currently use
IF_ADDR_LOCK() and IF_ADDR_UNLOCK() directly.
MFC after: 6 weeks
Revision Changes Path
1.349 +34 -0 src/sys/net/if.c
1.148 +10 -0 src/sys/net/if_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906260037.n5Q0b9S7008896>
