From owner-svn-src-head@freebsd.org Wed Jul 4 13:34:34 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C26E3103712C; Wed, 4 Jul 2018 13:34:34 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B4597AF41; Wed, 4 Jul 2018 13:34:34 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 49F94408181D; Wed, 4 Jul 2018 16:34:31 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 2r4NZv1Hcv-YVoK9f6r; Wed, 04 Jul 2018 16:34:31 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1530711271; bh=3LNzjYcAvicXB/TBZ9lSoaO2mh+WJCbkvRIoFEDc7aI=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=jNynw5mz38DnnhETT0b2YFh8bFK3YiAx2tUNIVMWSedQHLuINTxr2tn7xiXkdyjYZ TLCtYFLlhEiIwLqHuBUeKhIut74km4amtdHpc/uPkEZzYGzMU8jXp2DshGdjVI0K3p 7pM2+18ospB97JS+hoaI0NIJU4pYB+9F1FKFsgnk= Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id RmwVJ1Qvbc-YUOWxVdD; Wed, 04 Jul 2018 16:34:30 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1530711270; bh=3LNzjYcAvicXB/TBZ9lSoaO2mh+WJCbkvRIoFEDc7aI=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=XJVmyxZ7pxF4eeOua3Uwv2WjvoOdAfSJ9FjxE9dbue+yegDxs3c0Ig0Ap4yT1ECL8 quGvNL/bP7528/qkKeaGbJoUJVpQB+y+1DkFWw889AnsXP5rkXdkDqMYyrWAawYQip TS1Nc5b1hEW4YLZY9Oa/q2Y54iYviC7cTEovJgVw= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: svn commit: r335919 - head/sys/netinet6 To: Cy Schubert , Matt Macy Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201807041305.w64D5qiK002898@slippy.cwsent.com> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= xsBNBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAHNIkFuZHJleS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CNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <13fa004f-6d8a-025e-9d4f-957f081113b4@yandex.ru> Date: Wed, 4 Jul 2018 16:31:04 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <201807041305.w64D5qiK002898@slippy.cwsent.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DYq4DERiQq8E3pDWhQQJu3pRxNkEa3XRw" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 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: Wed, 04 Jul 2018 13:34:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DYq4DERiQq8E3pDWhQQJu3pRxNkEa3XRw Content-Type: multipart/mixed; boundary="3UyYmNTJPMJYH4JeWdQTZY41T0JnKZ9UW"; protected-headers="v1" From: "Andrey V. Elsukov" To: Cy Schubert , Matt Macy Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: <13fa004f-6d8a-025e-9d4f-957f081113b4@yandex.ru> Subject: Re: svn commit: r335919 - head/sys/netinet6 References: <201807041305.w64D5qiK002898@slippy.cwsent.com> In-Reply-To: <201807041305.w64D5qiK002898@slippy.cwsent.com> --3UyYmNTJPMJYH4JeWdQTZY41T0JnKZ9UW Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04.07.2018 16:05, Cy Schubert wrote: > Hi Matt, >=20 > This is causing a panic of my gateway machine. Likely due to router=20 > solicitations. Hi, probably in the last two chunks "inp" should be replaced with "last" Index: udp6_usrreq.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 --- udp6_usrreq.c (revision 335934) +++ udp6_usrreq.c (working copy) @@ -387,7 +387,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) if ((n =3D m_copym(m, 0, M_COPYALL, M_NOWAIT)) !=3D NULL) { INP_RLOCK(last); - if (__predict_true(inp->inp_flags2 & INP_FREED) =3D=3D 0) { + if (__predict_true(last->inp_flags2 & INP_FREED) =3D=3D 0) { UDP_PROBE(receive, NULL, last, ip6, last, uh); if (udp6_append(last, n, off, fromsa)) @@ -421,7 +421,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) goto badheadlocked; } INP_RLOCK(last); - if (__predict_true(inp->inp_flags2 & INP_FREED) =3D=3D 0) { + if (__predict_true(last->inp_flags2 & INP_FREED) =3D=3D 0) { UDP_PROBE(receive, NULL, last, ip6, last, uh); if (udp6_append(last, m, off, fromsa) =3D=3D 0) INP_RUNLOCK(last); --=20 WBR, Andrey V. Elsukov --3UyYmNTJPMJYH4JeWdQTZY41T0JnKZ9UW-- --DYq4DERiQq8E3pDWhQQJu3pRxNkEa3XRw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAls8zBgACgkQAcXqBBDI oXpnJwf/ZG+4ubzE/aIyOTWkmt9F0H3oXDsQmJurDT4Eo7okLFaFcXqFqnjJU06I wKeiqb/h537MZB1qwmk4LK44DEliepAkJ6bpx1Wo/+z3d5gT3Z7HVssB0Asq0lHd BZO8WDmqovI1aajUsTMr4bkhutzB1juPU+aWrvk70N9nSbp8WC2DGShx3RdUQVvb t9pL4FrMsBV4JTSFj96iulKqTwaoDAS8mZSmbd4ONiawZ1kVd50EA70dxL/qWpcC BiSbrTv1qfDRc2oofDkHkQipGXayN4+CWCsH9DvLGxLIyyeL1oaDyQxnt5R6Uw39 6nuLtodHpt+QFJLz5xFk+iQlARIfGw== =Ci2t -----END PGP SIGNATURE----- --DYq4DERiQq8E3pDWhQQJu3pRxNkEa3XRw--