From owner-freebsd-net@freebsd.org Thu Jan 19 11:11:32 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 44011CB8326 for ; Thu, 19 Jan 2017 11:11:32 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (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 F30DB1936; Thu, 19 Jan 2017 11:11:31 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x230.google.com with SMTP id u143so22793612oif.3; Thu, 19 Jan 2017 03:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=o1UeiWeAg1wTNItpbkhRwSbYNg0F+FCR4f6XeAImxns=; b=IWwZuwfkiy756TAxbCtt4kAoNVwGum66Hmqga21DI68Zq1B8Qz/MDWSEBY/+enS8RD fCLERNznSUf2UUhJcfK3WJbxLVKV+WynxassZw4j4PDheRV0XfCr8ht5z0L+MGH/wnki RRCHso05+8CiASyciBWn3FklJW7wshkqA/vG3YyXTl6mJVJw0BUc996mpNulCYVpFAuF o+qMdRe/KErxXBPHA8MsIi/ceiVvjfIzItrkkKurBm05MPT4QXXRTxijNxt4ClnNoSVZ 4eUxYJu3Z9Vgm3fRsiEPgsWGRHLbbgg6IB2gCNvZUk/4i2bvgmmGzpjZeLJE3xatvauW 3ggg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=o1UeiWeAg1wTNItpbkhRwSbYNg0F+FCR4f6XeAImxns=; b=KUmpWbVw9O6Lb3ZPCrF5/j8vupj+2AvcOSc6Yx+4M/Piw/QXW3FFsjBstbKA/+wMs1 O20rGxjbqE3BcJceVunCPghli6C4FtCrHFVwt2OdiYuufkHTXuwa6vBiHrr9NFuP4ZXi N4j4QhWLA969kxpvtuqo+z7AIZU4SlLeDxySxrnnP5SGYsmCYwV5FD+pyKwW51jgToda i76Ponm7wk+OeYrQ+OpOgeeaRss0/eB/e5eXxlAx4qOzab1CzzXQ0z6CO/l8wmIPz8rB iPu2Aa822/drp9S5cSgcBLbY0M9/peu+t1jZbLeL8CmAHS8n9y0IYzdI9kYMHm9QoSqS NWrg== X-Gm-Message-State: AIkVDXI3OCaLztWLmDSq3sejCND/alPOfLctu98HdCX/FgWcPN7jBHGbplz1WekYo+/GQ74uvV2CP5LHqF07Ag== X-Received: by 10.202.212.70 with SMTP id l67mr4060048oig.153.1484824291318; Thu, 19 Jan 2017 03:11:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.6.166 with HTTP; Thu, 19 Jan 2017 03:11:30 -0800 (PST) From: Vincenzo Maffione Date: Thu, 19 Jan 2017 12:11:30 +0100 Message-ID: Subject: Fix netmap emulated mode for FreeBSD 11 versions To: FreeBSD Net Cc: Luigi Rizzo , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 11:11:32 -0000 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)? Thanks, Vincenzo