Date: Thu, 26 Mar 2015 18:51:01 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r280707 - stable/9/sys/netinet6 Message-ID: <201503261851.t2QIp1r7025514@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Thu Mar 26 18:51:00 2015 New Revision: 280707 URL: https://svnweb.freebsd.org/changeset/base/280707 Log: MFC r280236: To avoid a possible race, release the reference to ifa after return from nd6_dad_na_input(). Modified: stable/9/sys/netinet6/nd6_nbr.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/netinet6/nd6_nbr.c ============================================================================== --- stable/9/sys/netinet6/nd6_nbr.c Thu Mar 26 18:45:51 2015 (r280706) +++ stable/9/sys/netinet6/nd6_nbr.c Thu Mar 26 18:51:00 2015 (r280707) @@ -696,8 +696,8 @@ nd6_na_input(struct mbuf *m, int off, in */ if (ifa && (((struct in6_ifaddr *)ifa)->ia6_flags & IN6_IFF_TENTATIVE)) { - ifa_free(ifa); nd6_dad_na_input(ifa); + ifa_free(ifa); goto freeit; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503261851.t2QIp1r7025514>