Date: Wed, 24 Jun 2009 10:32:44 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_ethersubr.c if_fddisubr.c src/sys/netatalk aarp.c at_control.c at_extern.h Message-ID: <200906241033.n5OAXWo0076817@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-06-24 10:32:44 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c if_fddisubr.c sys/netatalk aarp.c at_control.c at_extern.h Log: SVN rev 194819 on 2009-06-24 10:32:44Z by rwatson Break at_ifawithnet() into two variants: - at_ifawithnet(), which acquires an locks it needs and returns an at_ifaddr reference. - at_ifawithnet_locked(), which relies on the caller locking at_ifaddr_list, and returns a pointer rather than a reference. Update various consumers to prefer one or the other, including ether and fddi output, to properly release at_ifaddr references. Rework at_control() to manage locking and references in a manner identical to in_control(). MFC after: 6 weeks Revision Changes Path 1.266 +5 -1 src/sys/net/if_ethersubr.c 1.116 +1 -0 src/sys/net/if_fddisubr.c 1.49 +24 -12 src/sys/netatalk/aarp.c 1.50 +117 -81 src/sys/netatalk/at_control.c 1.20 +2 -0 src/sys/netatalk/at_extern.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906241033.n5OAXWo0076817>