From owner-svn-src-head@freebsd.org Sat Nov 14 21:25:16 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE796A2FE37; Sat, 14 Nov 2015 21:25:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9696E1B7C; Sat, 14 Nov 2015 21:25:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 8F1391E2D; Sat, 14 Nov 2015 21:25:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 47A40F6E1; Sat, 14 Nov 2015 21:25:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id cNd5unZjd19k; Sat, 14 Nov 2015 21:25:13 +0000 (UTC) Subject: Re: svn commit: r290828 - head/sys/net DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 2764CF6D7 To: "Alexander V. Chernikov" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201511141816.tAEIGHVO000274@repo.freebsd.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <5647A6BE.3070408@FreeBSD.org> Date: Sat, 14 Nov 2015 13:25:18 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <201511141816.tAEIGHVO000274@repo.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dRCJuXhPHxqHBkfpDlvIoWTrjIdrxSOWN" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 21:25:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dRCJuXhPHxqHBkfpDlvIoWTrjIdrxSOWN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/14/2015 10:16 AM, Alexander V. Chernikov wrote: > Author: melifaro > Date: Sat Nov 14 18:16:17 2015 > New Revision: 290828 > URL: https://svnweb.freebsd.org/changeset/base/290828 >=20 > Log: > Pass provided af instead of AF_UNSPEC to setwa_f callback. >=20 > Modified: > head/sys/net/route.c >=20 > Modified: head/sys/net/route.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/net/route.c Sat Nov 14 17:32:38 2015 (r290827) > +++ head/sys/net/route.c Sat Nov 14 18:16:17 2015 (r290828) > @@ -845,7 +845,7 @@ rt_foreach_fib_walk(int af, rt_setwarg_t > if (rnh =3D=3D NULL) > continue; > if (setwa_f !=3D NULL) > - setwa_f(rnh, fibnum, AF_UNSPEC, arg); > + setwa_f(rnh, fibnum, af, arg); > =20 > RADIX_NODE_HEAD_LOCK(rnh); > rnh->rnh_walktree(rnh, (walktree_f_t *)wa_f, arg); >=20 Ah damn. I mis-read the 'if' a few lines up when fixing the coverity warning. Sorry about that. At least none of the callbacks were using it y= et. --=20 Regards, Bryan Drewery --dRCJuXhPHxqHBkfpDlvIoWTrjIdrxSOWN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWR6a+AAoJEDXXcbtuRpfPqrAH/RfJiJ2YJ7jXBeMa36J4Snz8 oE8VGBjJkn0Fe8p7+i+MBWvpDIlAHesIb+Pt25A4Opj4EFZ4tZXp2NEEerVNX9/8 5poc+vU2N8txQsJWJJy19VPUy8mUjPJH+dEX+uYqgVkMhjoa9+BnGPrqfBCOnt4j PDTV4bit93H+ZLHxrJSn3eVGFjbGA14CHgibG4g0dDCaV/peG1IQx7NL8W2APU98 psz4fXNig34CsYHvQa9Zjvp6jur5Ex47ir/rWja1Zhk3FIvDiJDR0cU29fjnUrJN tGqFHktfop4QLrpUQ0+Ka477bhp3wVG808Ct064/Cg5R3RJ2rYSXtk7T6VxrAgk= =a1zW -----END PGP SIGNATURE----- --dRCJuXhPHxqHBkfpDlvIoWTrjIdrxSOWN--