Date: Tue, 27 Dec 2011 11:29:02 +0100 From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org> To: Gleb Smirnoff <glebius@freebsd.org> Cc: Robert Watson <rwatson@freebsd.org>, John Baldwin <jhb@freebsd.org>, net@freebsd.org Subject: Re: Transitioning if_addr_lock to an rwlock Message-ID: <CAPBZQG1HvMJ_RnM1Fofidd=U7Ty7-2x7Csb9tnsQOSGtYENZRA@mail.gmail.com> In-Reply-To: <20111227041728.GI8035@FreeBSD.org> References: <201112221130.01823.jhb@freebsd.org> <20111227041728.GI8035@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/12/27 Gleb Smirnoff <glebius@freebsd.org>: > On Thu, Dec 22, 2011 at 11:30:01AM -0500, John Baldwin wrote: > J> You can find the patch for 8.x at > J> http://www.freebsd.org/~jhb/patches/if_addr_rwlock.patch > > Just my two pennies: for head/ patching if ip_carp.c should > be straightforward: > > 1) Using W in carp_alloc_if() and carp_free_if(). > 2) Using R everywhere else. > I would not say that is true! Look at this https://github.com/bsdperimeter/pfsense-tools/blob/master/patches/RELENG_8_1/carp_livelock_fixes.diff I already did this for carp on pfSense for 8.x and should be the same for HEAD. That has undergone testing and catching up where R vs W. > -- > Totus tuus, Glebius. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Ermal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG1HvMJ_RnM1Fofidd=U7Ty7-2x7Csb9tnsQOSGtYENZRA>