From owner-freebsd-net@freebsd.org Thu Jan 19 13:24:15 2017 Return-Path: Delivered-To: freebsd-net@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 93855CB723F for ; Thu, 19 Jan 2017 13:24:15 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28F841098; Thu, 19 Jan 2017 13:24:15 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id c85so288423120wmi.1; Thu, 19 Jan 2017 05:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L7b+Tn/R8gXRajWpA4aQf4VbY6/LE7zXNTUOEiSagq4=; b=pAIEbEonAxlfdDjU8e6OHRkZRLL59/NPjVQEhpaF22shsHR4hodSCtZracTNR2KfTH /fblou1wrKTEzNZourzBTgJLTj0DI3E9j6p3ce0pE/VYB5ARFUywcVMjfUTanmYYegpV WFrqY0SVg8+4J2teDIo8lQuz39DlNqgB4kP8TN0VrrurGUBNpJytaN0r4QevHbKmbKbM cLC+aOfEnEiEWlcatSEurCXyrP/4PBCtkHZ8RWUEWE11lZ0BfQgKPpyd1e87U+22aBlJ MXNOVCHEHzXqe5JlUhh+8olZehYpy7d5hiKcgrsDJnGvbihLnCuPl/1+mRgGfbRWXUyq fPcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L7b+Tn/R8gXRajWpA4aQf4VbY6/LE7zXNTUOEiSagq4=; b=AmjYoGa3RADmAvU+fMsfFWijri6iABPf9sIRNJzvI2DvPn1m21hwgrOZkV8S7w903+ 3MdH8LRfIALnNTl+MyFDvJ0Tir8P+8lpNOE82U2ZR9yi3glkZd21vnmZEN0WG2Hdd4td Cwq2Wvs7iOH/oRohB9g5kIAEdlxVULativJLp7hvQO6jMiErhzD0SmJNrGNYcFZiUnjF +7tD8p3BVpPMBaVONTNJ0AX248A0gTIDVTNuVq0zNQoC0Ru7Of0r7JQD9RL+qJAbIIN6 n0VU85Bg80nuBdx+KXjRnpNP86/LJt/yC1OFLq3SjmifQJcRdaxZiwbf2mF16jHgF4kD TMog== X-Gm-Message-State: AIkVDXK+RF4DAevrEi8Q/EIdSKje4BDH4jEiE+ferVjmwiBYVCJigdLl9yBm4bVMNJO5VEXkL8sEFqsdNDGhiw== X-Received: by 10.28.109.218 with SMTP id b87mr6770788wmi.52.1484832252189; Thu, 19 Jan 2017 05:24:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.149.249 with HTTP; Thu, 19 Jan 2017 05:24:11 -0800 (PST) In-Reply-To: References: From: Luiz Otavio O Souza Date: Thu, 19 Jan 2017 11:24:11 -0200 Message-ID: Subject: Re: Fix netmap emulated mode for FreeBSD 11 versions To: Vincenzo Maffione Cc: FreeBSD Net , Giuseppe Lettieri , Luigi Rizzo Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 13:24:15 -0000 On 19 January 2017 at 09:11, Vincenzo Maffione wrote: > Hi, > > A change in mb_free_ext() introduced in FreeBSD 11 versions broke the > transmission support for netmap in emulated mode. This means immediate > kernel crashes for netmap users in non-native (emulated) mode. > > This problem has been fixed in FreeBSD-12-CURRENT, which contains a recent > version of Netmap. However, FreeBSD 11 versions (release, stable) are still > affected, as they contain old Netmap versions. > Is it possible to push the fix (provided by me) to the relevant > release/stable branches? What is the procedure (I'm not familiar with the > FreeBSD release engineering process)? Hi Vincenzo, Yeah, I saw that trying netmap on ARM (running with emulated drivers) and I can confirm that it is fixed on -head. Please, send me the fix and I'll get it committed on stable/11 (this is a common situation and the fix can be committed directly into the affected branch). Thanks! Luiz