Received: by mail.netbsd.org (Postfix, from userid 605) id 56B0E84D6E; Fri, 18 Aug 2017 15:02:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CF8D684D5C for ; Fri, 18 Aug 2017 15:02:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id IPzhjX5p7AjI for ; Fri, 18 Aug 2017 15:02:11 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 7122C84C6C for ; Fri, 18 Aug 2017 15:02:11 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6EE47FAD0; Fri, 18 Aug 2017 15:02:11 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 18 Aug 2017 15:02:11 +0000 From: "Soren Jacobsen" Subject: CVS commit: [netbsd-6-0] src/sys/dev/ic To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170818150211.6EE47FAD0@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Soren Jacobsen" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: snj Date: Fri Aug 18 15:02:11 UTC 2017 Modified Files: src/sys/dev/ic [netbsd-6-0]: i82596.c Log Message: Pull up following revision(s) (requested by mrg in ticket #1475): sys/dev/ic/i82596.c: revision 1.37 Null out sc_rx_mbuf[i] after m_freem to avoid double-free later. From Ilja Van Sprundel. Also null out sc_tx_mbuf[i] after m_freem, out of paranoia. XXX Not entirely clear to how tx mbufs are freed, but no way to test this since it's ews4800mips- and hp700-only, so not keen to make any more elaborate changes... To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.29.20.1 src/sys/dev/ic/i82596.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.