From owner-freebsd-net@freebsd.org Sun Feb 24 00:23:24 2019 Return-Path: Delivered-To: freebsd-net@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 CAD841509400 for ; Sun, 24 Feb 2019 00:23:24 +0000 (UTC) (envelope-from kempe@lysator.liu.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 22D387510B for ; Sun, 24 Feb 2019 00:23:24 +0000 (UTC) (envelope-from kempe@lysator.liu.se) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id C120B40006 for ; Sun, 24 Feb 2019 01:23:12 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id AA7B740008; Sun, 24 Feb 2019 01:23:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.4.1 X-Spam-Score: -1.0 Received: from drd1812.nothing.org (unknown [10.253.196.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 2074940006 for ; Sun, 24 Feb 2019 01:23:12 +0100 (CET) To: freebsd-net@freebsd.org From: Andreas Kempe Subject: Infiniband: Mellanox MT26418 in ethernet mode causes crash on shutdown Openpgp: preference=signencrypt Autocrypt: addr=kempe@lysator.liu.se; keydata= mQINBFfcARkBEACpvItp92qIKstHBKcdfFFq7/Kd52IyQuOvLtJCn9Cvbipn48wxWBc2Ytzq OT0VueYpsX85VbJkCB8aTCVfm3xlHHozbttJbwRiQuoRPQFdaRMQacaSg7g9A8DZmIshHbzk hvDw20Exa/d3B4mX/LHewWyR/v34Aw0t1OchuI/xN2qpTgTINkY4vyA057/088dbTz7Kfs5P 3TCzrycULgoke96jrAy6hjUOSHCPvLPXnQ9mq9q0u1yXpK1WnG91aU1qhSiY7ya4Sj+UkSok T5qiV08K49IJdLNvs32FRaizJqHUrdXHsel2xFAnSssqwjq/qWinR8XIZCRtuf8Vcg+/cihM KWbrEvDsnWPmzWRk4HjFmUfXTBN6NpDq5teWQmcHUxCkIG15vEa7twUlDfSfFdW2tThglz/M i2IlinT5mCa213s1mv0xRTKY/QnWQgrVK4m6gAL2vt4TQ0f/2KE7OFm4vS4HJCrleMKIROEE iycYHsFjdzL55JBm5idAPTg/da07WJZBxAIFLLvbm4XawRzyeuNCPUZt030A6OszTfV8+1XZ cB+qU2pxiD6VLfoW/HIZNLpZDTl+DkrPHK5FeVl3rMpCroWwFrZkWAWlDgRseupdbOkmiplj cqKiRoQ7414jW8PwVzHWuHZ/JDALO3JrinsBRKCiJ6wpyw1K1wARAQABtCRBbmRyZWFzIEtl bXBlIDxrZW1wZUBseXNhdG9yLmxpdS5zZT6JAlgEEwECAEICGwMGCwkIBwMCBhUIAgkKCwQW AgMBAh4BAheABQkFhWQCFiEETci4cPcl+ZcyiACiCkqKrhcKSD0FAlvxTwICGQEACgkQCkqK rhcKSD3I0hAAn0/l5GRdVrkAPrNx1DZp/3RQmEwQUZJC/0hSi7JFZHfgoA7AHeg2oVY36KAy q2oTEzA2OsDKKs6T66+CLedIpDwVKE7KPcSswHbM0ULB8sE/Kymha/+db6xQzglJtnlLEJEn OyV09exX9rqyazpAQ4/TohthrDbMqYU+MZUIULZz83Hat+Fdi4K6CwCdl4NC05xsVIDNEJks 3DivlUccZ0GX6Bx1sTYO7mSL1v4mUpEf/BWOLqm9PFyU9jniQVuabYcfPnLn/xmwXZUcTEe4 iyBzlKxDhbnFyyxG7A8N/8UDWte59t843Q+KBA6WknWorG4gmwEhGE7pB4hTFU8gM+KGm89T RZiINbYaHI/OJ2p0R2cY/LU1XGw5A5WFvLXgqAO3196KLqjKz11VHeTWI/KeZ+QAPccShZKh yXbu+cYdqfYpGRlnSx0mzCvi5NfJQw+HTIA6EMnlcc+vfsnn4X0RO4BcGoqnThIkQYWVwZPC ZxAxDciifEMdJ374eaxmORlW3hvPDHmowPST/8H6ln3nWvhZRncGcWj4Gz0QuoB6V0JKgUaV zI5NBIbpi0U/1FdB6HtWK7KH86KNvXT6FG49yNPMnnYX9Nnt/3IyTlpl4rp0zuAE5gxj9Z06 Sko5+jO2iJ6T0147cjhmiTLGySfi+kavAX0fdRSy3SxSxPC5Ag0EV9wBGQEQANRvDM/LiHoq bAGAs1IgCcSGWdcdE2pcmMTeaxH/9ZY28tyIwrnjuuYdAZwrVFgNaRlSKB/VXJ7p1Pkir2PT ruvhvhdsRQsBV56KXw55WYpN+FizQbWftvRpGy0AV/UlCtba2pxNyo1kSYUh3Lati+uIRWcp zB2ctLQ/ib58S4Kft6ZvPXLoAEMkkj/dNZDG3kK0Wr1eB30LnpxQC38EMbIDvsVt2csfFZUd qjpn0dAjJNEsWCs9WrBclYBl/TDFmyfbc4CvrVgizFdt4tKX3VK7uGXUfSHSF7CFkvqViW7D AE+p7cvkd6wwf45ivRlAe0bOiV8DzW90c7F4WbGoM+hydDeSOYy5T4ttE8mZCi/XtdZuxUBB kOUuUs0yBPYk/kdeSSvPcUep2zs3JK5Vn+pikwTsGrrYthBgrwZ3WntWHaRsinPTd3uAn5i+ 7depjtzUwz4h+s4JiCYYSKFoNyet27xF3MgT8+y5O6GkdFXoCHQ0XfsW6CU7GEdbcCWpecvh EuwrOmjFfHHd+jVMUzekUxFD49qjxKn4tZdNm/mM7zZaefjps2Srw7EzZI0sJIld1LG9dcB9 vYeunOZ4JuMo9xtTgqEW74avoxsRWvvTYMRYCWIlm5azzbqxpTSxnbicCFaEkUhye8OBdm3r eb3tk7a7m+k+sb1kV40lCMRhABEBAAGJAiUEGAECAA8CGwwFAluAMdsFCQWFZEIACgkQCkqK rhcKSD3hWw//enGvZy6YymqrxAVXBywC9BBh/Nact9O3LZ/l2PI0JSqn2+gQuqUl69SYpTuu npo4edw0DCzhFPbeND4dZP8d/iBp+AUkm+fNqtK33yNsVp6iwVqfE1fSWGT+9dqIy2uCNn09 rW2ry02l+BBzWAvOtNVdYEGx73IiIQbGMzjVCb/UCBmTbRk77svXKST97tgrMiO21KWbyDVG RgMMJSeLFnLKoWxhHUJTwwlUtOQgdVpUoZAg75Ca6LokV//e+hWXs+jcdsKLm59ZpwAxg0Am 255vdtIwaRiI3RMJ7L0+Hi9czicdx/dBo+ie5A7Ky+uKPaLIh18UeYcf9LH96wRf1ifHn8eQ ztx5Am1CMHGM8o1dd6g4ofU/dGGAT53vZAKKnZsZsYVLuvfXATdRsNpaCYBGtKlNHXQ9ZkJX gLEtUSmlq9dSRmMrDx5sK1BURkTA+UCOFqX+hSVqATDabhkaOXoR20nE1kSGpYKmfOA0eJTN 89EYGey7x3YHIBLeq/a3pFuI6AuGLXIifNzzRTyvdIwgkT77kQPmXzWybtyyc0IMSV/tBkru f70YQq+CgeA6uUFvRrRy7rP8gnWjVHguB8pwUC8Y35ibjK4ExkSpSctQXSfQ7IzDgK8IyGH4 gjRhOx2pI57kIj0vDFSpQjM8klDD7tqE/uCor1yqIdkv1r4= Message-ID: <8763252f-d433-5e1e-9e3b-628e0545c8eb@lysator.liu.se> Date: Sun, 24 Feb 2019 01:23:11 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7E2ABC1F3783C5094D044441" Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 00:23:25 -0000 This is a multi-part message in MIME format. --------------7E2ABC1F3783C5094D044441 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hello, When running a Mellanox MT26418 in ethernet mode, the kernel crashes with the following stack trace on system shutdown: > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x0 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff80e3f5f4 > stack pointer = 0x28:0xfffffe064abec6e0 > frame pointer = 0x28:0xfffffe064abec700 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 1 (init) > trap number = 12 > panic: page fault > cpuid = 0 > KDB: stack backtrace: > #0 0xffffffff80b4c5b7 at kdb_backtrace+0x67 > #1 0xffffffff80b05b57 at vpanic+0x177 > #2 0xffffffff80b059d3 at panic+0x43 > #3 0xffffffff8106efdf at trap_fatal+0x35f > #4 0xffffffff8106f039 at trap_pfault+0x49 > #5 0xffffffff8106e807 at trap+0x2c7 > #6 0xffffffff8104f03c at calltrap+0x8 > #7 0xffffffff80e3fae2 at mlx4_en_stop_port+0x3d2 > #8 0xffffffff80e40ff6 at mlx4_en_destroy_netdev+0x1e6 > #9 0xffffffff80e3e47d at mlx4_en_remove+0xcd > #10 0xffffffff80e1ab01 at mlx4_remove_device+0xb1 > #11 0xffffffff80e1b0b8 at mlx4_unregister_device+0x98 > #12 0xffffffff80e1c5c5 at mlx4_unload_one+0x85 > #13 0xffffffff80e23543 at mlx4_shutdown+0x83 > #14 0xffffffff80d6b6e9 at linux_pci_shutdown+0x39 > #15 0xffffffff80b4004a at bus_generic_shutdown+0x5a > #16 0xffffffff80b4004a at bus_generic_shutdown+0x5a > #17 0xffffffff80b4004a at bus_generic_shutdown+0x5a I've traced the issue to the following lines of code in sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c in mlx4_en_destroy_netdev(): > /* Unregister device - this will close the port if it was up */ > if (priv->registered) { > mutex_lock(&mdev->state_lock); > ether_ifdetach(dev); > mutex_unlock(&mdev->state_lock); > }>> mutex_lock(&mdev->state_lock); > mlx4_en_stop_port(dev); > mutex_unlock(&mdev->state_lock); > The issue is that mlx4_en_stop_port() follows the fcall chain below and tries to fetch the MAC address of the device in mlx4_en_put_qp. mlx4_en_destroy_netdev->mlx4_en_stop_port->mlx4_en_put_qp The sequence above causes the kernel to choke because the MAC address was freed in the previous call to ether_ifdetach in if_detach_internal with the following call chain: mlx4_en_destroy_netdev->ether_ifdetach->if_detach->if_detach_internal I've written a small workaround that works on our test machine, although I suspect this could potentially cause issues as we're destroying the port before we destroy the interface. Please see the attached patch for the workaround. Cordially, Andreas Kempe Lysator ACS --------------7E2ABC1F3783C5094D044441 Content-Type: text/x-patch; name="mlx_destroy_work_around.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mlx_destroy_work_around.patch" --- sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c.old 2019-02-24 01:01:54.7593070= 00 +0100 +++ sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c 2019-02-24 01:04:07.872558000 += 0100 @@ -1764,16 +1764,19 @@ if (priv->vlan_detach !=3D NULL) EVENTHANDLER_DEREGISTER(vlan_unconfig, priv->vlan_detach); =20 + /* Bring the interface down before destroying the port. */ + if_down(dev); + + mutex_lock(&mdev->state_lock); + mlx4_en_stop_port(dev); + mutex_unlock(&mdev->state_lock); + /* Unregister device - this will close the port if it was up */ if (priv->registered) { mutex_lock(&mdev->state_lock); ether_ifdetach(dev); mutex_unlock(&mdev->state_lock); } - - mutex_lock(&mdev->state_lock); - mlx4_en_stop_port(dev); - mutex_unlock(&mdev->state_lock); =20 if (priv->allocated) mlx4_free_hwq_res(mdev->dev, &priv->res, MLX4_EN_PAGE_SIZE); --------------7E2ABC1F3783C5094D044441-- From owner-freebsd-net@freebsd.org Sun Feb 24 03:36:34 2019 Return-Path: Delivered-To: freebsd-net@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 137211510519 for ; Sun, 24 Feb 2019 03:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B461D83F1F for ; Sun, 24 Feb 2019 03:36:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 73910151050B; Sun, 24 Feb 2019 03:36:33 +0000 (UTC) Delivered-To: net@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 60EC21510508 for ; Sun, 24 Feb 2019 03:36:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BA2883F14 for ; Sun, 24 Feb 2019 03:36:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6A96E1D742 for ; Sun, 24 Feb 2019 03:36:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1O3aVSm058945 for ; Sun, 24 Feb 2019 03:36:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1O3aV89058944 for net@FreeBSD.org; Sun, 24 Feb 2019 03:36:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic Date: Sun, 24 Feb 2019 03:36:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: bug_status flagtypes.name cc keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 03:36:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235700 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Flags| |mfc-stable11?, | |mfc-stable12? CC| |hselasky@FreeBSD.org, | |jpaetzel@FreeBSD.org, | |venkatduvvuru.ml@gmail.com Keywords| |crash, needs-qa, patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 24 09:57:23 2019 Return-Path: Delivered-To: freebsd-net@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 626E41519519 for ; Sun, 24 Feb 2019 09:57:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED3E48DE47 for ; Sun, 24 Feb 2019 09:57:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CC5E4260369; Sun, 24 Feb 2019 10:57:19 +0100 (CET) Subject: Re: Infiniband: Mellanox MT26418 in ethernet mode causes crash on shutdown To: Andreas Kempe , freebsd-net@freebsd.org, freebsd-drivers References: <8763252f-d433-5e1e-9e3b-628e0545c8eb@lysator.liu.se> From: Hans Petter Selasky Message-ID: Date: Sun, 24 Feb 2019 10:54:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <8763252f-d433-5e1e-9e3b-628e0545c8eb@lysator.liu.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: ED3E48DE47 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.985,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 09:57:23 -0000 On 2/24/19 1:23 AM, Andreas Kempe wrote: > Hello, > > When running a Mellanox MT26418 in ethernet mode, the kernel crashes > with the following stack trace on system shutdown: > >> Fatal trap 12: page fault while in kernel mode >> cpuid = 0; apic id = 00 >> fault virtual address = 0x0 >> fault code = supervisor read data, page not present >> instruction pointer = 0x20:0xffffffff80e3f5f4 >> stack pointer = 0x28:0xfffffe064abec6e0 >> frame pointer = 0x28:0xfffffe064abec700 >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, long 1, def32 0, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 0 >> current process = 1 (init) >> trap number = 12 >> panic: page fault >> cpuid = 0 >> KDB: stack backtrace: >> #0 0xffffffff80b4c5b7 at kdb_backtrace+0x67 >> #1 0xffffffff80b05b57 at vpanic+0x177 >> #2 0xffffffff80b059d3 at panic+0x43 >> #3 0xffffffff8106efdf at trap_fatal+0x35f >> #4 0xffffffff8106f039 at trap_pfault+0x49 >> #5 0xffffffff8106e807 at trap+0x2c7 >> #6 0xffffffff8104f03c at calltrap+0x8 >> #7 0xffffffff80e3fae2 at mlx4_en_stop_port+0x3d2 >> #8 0xffffffff80e40ff6 at mlx4_en_destroy_netdev+0x1e6 >> #9 0xffffffff80e3e47d at mlx4_en_remove+0xcd >> #10 0xffffffff80e1ab01 at mlx4_remove_device+0xb1 >> #11 0xffffffff80e1b0b8 at mlx4_unregister_device+0x98 >> #12 0xffffffff80e1c5c5 at mlx4_unload_one+0x85 >> #13 0xffffffff80e23543 at mlx4_shutdown+0x83 >> #14 0xffffffff80d6b6e9 at linux_pci_shutdown+0x39 >> #15 0xffffffff80b4004a at bus_generic_shutdown+0x5a >> #16 0xffffffff80b4004a at bus_generic_shutdown+0x5a >> #17 0xffffffff80b4004a at bus_generic_shutdown+0x5a > > I've traced the issue to the following lines of code in > sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c in mlx4_en_destroy_netdev(): >> /* Unregister device - this will close the port if it was up */ >> if (priv->registered) { >> mutex_lock(&mdev->state_lock); >> ether_ifdetach(dev); >> mutex_unlock(&mdev->state_lock); >> }>> mutex_lock(&mdev->state_lock); >> mlx4_en_stop_port(dev); >> mutex_unlock(&mdev->state_lock); >> > > The issue is that mlx4_en_stop_port() follows the fcall chain below and > tries to fetch the MAC address of the device in mlx4_en_put_qp. > mlx4_en_destroy_netdev->mlx4_en_stop_port->mlx4_en_put_qp > > The sequence above causes the kernel to choke because the MAC address > was freed in the previous call to ether_ifdetach in if_detach_internal > with the following call chain: > mlx4_en_destroy_netdev->ether_ifdetach->if_detach->if_detach_internal > > I've written a small workaround that works on our test machine, although > I suspect this could potentially cause issues as we're destroying the > port before we destroy the interface. Please see the attached patch for > the workaround. > > Cordially, > Andreas Kempe > Lysator ACS CC'ing FreeBSD-drivers at Mellanox. Thank you for your patch. We'll have a look at it. --HPS From owner-freebsd-net@freebsd.org Sun Feb 24 16:54:50 2019 Return-Path: Delivered-To: freebsd-net@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 94D941503D9B for ; Sun, 24 Feb 2019 16:54:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9E874A6A for ; Sun, 24 Feb 2019 16:54:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E6C371503D99; Sun, 24 Feb 2019 16:54:49 +0000 (UTC) Delivered-To: net@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 D2C441503D98 for ; Sun, 24 Feb 2019 16:54:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6886974A65 for ; Sun, 24 Feb 2019 16:54:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 992804EBD for ; Sun, 24 Feb 2019 16:54:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OGsmxF022418 for ; Sun, 24 Feb 2019 16:54:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1OGsmFV022417 for net@FreeBSD.org; Sun, 24 Feb 2019 16:54:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic Date: Sun, 24 Feb 2019 16:54:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ryan@freqlabs.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 16:54:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235700 --- Comment #5 from Ryan Moeller --- (In reply to Sajeev Ramasamy from comment #4) Ah I see the confusion. Those lines are in stable/11, but not in 11.2-relea= se. https://github.com/freebsd/freebsd/blob/stable/11/sys/dev/oce/oce_if.c#L239= 2-L2395 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 24 17:19:19 2019 Return-Path: Delivered-To: freebsd-net@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 B2BFF1504791 for ; Sun, 24 Feb 2019 17:19:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3FC75476 for ; Sun, 24 Feb 2019 17:19:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 04C601504790; Sun, 24 Feb 2019 17:19:19 +0000 (UTC) Delivered-To: net@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 E64E2150478F for ; Sun, 24 Feb 2019 17:19:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F7987546F for ; Sun, 24 Feb 2019 17:19:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B8B3951C1 for ; Sun, 24 Feb 2019 17:19:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OHJHfx000255 for ; Sun, 24 Feb 2019 17:19:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1OHJHHR000254 for net@FreeBSD.org; Sun, 24 Feb 2019 17:19:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 219428] em network driver broken in current Date: Sun, 24 Feb 2019 17:19:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: robert@longwinters.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 17:19:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219428 robert@longwinters.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robert@longwinters.org --- Comment #18 from robert@longwinters.org --- Can confirm this is still a problem on 12.0-RELEASE-p3. Of note it is only happening on em0 on my system, I use em1 for a cross connect and NFS. They'= re both the built in on the motherboard. em0@pci0:0:25:0: class=3D0x020000 card=3D0x20378086 chip=3D0x15038086 rev= =3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82579V Gigabit Network Connection' class =3D network subclass =3D ethernet em1@pci0:3:0:0: class=3D0x020000 card=3D0x20378086 chip=3D0x10d38086 rev=3D= 0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82574L Gigabit Network Connection' class =3D network subclass =3D ethernet --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 24 15:58:13 2019 Return-Path: Delivered-To: freebsd-net@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 A607D150203D for ; Sun, 24 Feb 2019 15:58:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA9D722D6 for ; Sun, 24 Feb 2019 15:58:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CD5C71502034; Sun, 24 Feb 2019 15:58:12 +0000 (UTC) Delivered-To: net@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 BBDEA1502033 for ; Sun, 24 Feb 2019 15:58:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5AAA7722CB for ; Sun, 24 Feb 2019 15:58:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9192D45FB for ; Sun, 24 Feb 2019 15:58:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OFwBgp070335 for ; Sun, 24 Feb 2019 15:58:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1OFwB82070332 for net@FreeBSD.org; Sun, 24 Feb 2019 15:58:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic Date: Sun, 24 Feb 2019 15:58:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: thorion3006@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 15:58:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235700 --- Comment #4 from Sajeev Ramasamy --- (In reply to Ryan Moeller from comment #3) Hey, sorry to bother you again, but i'm not able to find those lines in 11.2-RELEASE version. https://github.com/freebsd/freebsd/blob/release/11.2.0/sys/dev/oce/oce_if.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 24 19:45:23 2019 Return-Path: Delivered-To: freebsd-net@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 379C51508ED2 for ; Sun, 24 Feb 2019 19:45:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C29B183CFD for ; Sun, 24 Feb 2019 19:45:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 800321508ED1; Sun, 24 Feb 2019 19:45:22 +0000 (UTC) Delivered-To: net@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 6D20E1508ED0 for ; Sun, 24 Feb 2019 19:45:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07E8F83CF8 for ; Sun, 24 Feb 2019 19:45:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4E6B36800 for ; Sun, 24 Feb 2019 19:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OJjLn5070014 for ; Sun, 24 Feb 2019 19:45:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1OJjLBv070013 for net@FreeBSD.org; Sun, 24 Feb 2019 19:45:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic Date: Sun, 24 Feb 2019 19:45:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jpaetzel@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 19:45:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235700 Josh Paetzel changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 24 21:00:51 2019 Return-Path: Delivered-To: freebsd-net@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 D57D7150C123 for ; Sun, 24 Feb 2019 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1A787ECE for ; Sun, 24 Feb 2019 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A495150C122; Sun, 24 Feb 2019 21:00:50 +0000 (UTC) Delivered-To: net@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 07FEB150C121 for ; Sun, 24 Feb 2019 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80D6687EC7 for ; Sun, 24 Feb 2019 21:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A036872DA for ; Sun, 24 Feb 2019 21:00:48 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OL0mLo073434 for ; Sun, 24 Feb 2019 21:00:48 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1OL0mRl073424 for net@FreeBSD.org; Sun, 24 Feb 2019 21:00:48 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201902242100.x1OL0mRl073424@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 24 Feb 2019 21:00:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 21:00:51 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 213410 | [carp] service netif restart causes hang only whe Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 200319 | Bridge+CARP crashes/freezes Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 227720 | Kernel panic in ppp server Open | 233952 | jme NICs non functional after 11.2 to 12.0 upgrad 10 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Feb 24 19:24:31 2019 Return-Path: Delivered-To: freebsd-net@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 7884D150850B for ; Sun, 24 Feb 2019 19:24:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0A38D830F7 for ; Sun, 24 Feb 2019 19:24:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C29A21508508; Sun, 24 Feb 2019 19:24:30 +0000 (UTC) Delivered-To: net@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 B11841508507 for ; Sun, 24 Feb 2019 19:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48849830F3 for ; Sun, 24 Feb 2019 19:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 80F8E650C for ; Sun, 24 Feb 2019 19:24:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1OJOTEk027136 for ; Sun, 24 Feb 2019 19:24:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1OJOTPM027135 for net@FreeBSD.org; Sun, 24 Feb 2019 19:24:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235983] [firewire] external firewire drive does not create device node Date: Sun, 24 Feb 2019 19:24:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 19:24:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235983 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 25 09:29:00 2019 Return-Path: Delivered-To: freebsd-net@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 21B93150348B for ; Mon, 25 Feb 2019 09:29:00 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 948C083E36 for ; Mon, 25 Feb 2019 09:28:58 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 078A726012D; Mon, 25 Feb 2019 10:28:49 +0100 (CET) Subject: Re: Infiniband: Mellanox MT26418 in ethernet mode causes crash on shutdown To: Andreas Kempe , freebsd-net@freebsd.org, freebsd-drivers References: <8763252f-d433-5e1e-9e3b-628e0545c8eb@lysator.liu.se> From: Hans Petter Selasky Message-ID: <940f6859-037b-68d6-298a-513ea6ebf7ce@selasky.org> Date: Mon, 25 Feb 2019 10:28:28 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <8763252f-d433-5e1e-9e3b-628e0545c8eb@lysator.liu.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 948C083E36 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.turbocat.net]; NEURAL_HAM_SHORT(-0.91)[-0.911,0]; IP_SCORE(-3.28)[ip: (-9.49), ipnet: 88.99.0.0/16(-4.66), asn: 24940(-2.25), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 09:29:00 -0000 Hi, Your patch looks good and Mellanox will test it a bit internally before pushing upstream. I think the if_down() call is not strictly needed. ether_ifdetach() already does this. Can you test the patch w/o the if_down() call? --HPS From owner-freebsd-net@freebsd.org Mon Feb 25 10:41:36 2019 Return-Path: Delivered-To: freebsd-net@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 B97D8150528C for ; Mon, 25 Feb 2019 10:41:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5145B866AC for ; Mon, 25 Feb 2019 10:41:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1020D150528B; Mon, 25 Feb 2019 10:41:36 +0000 (UTC) Delivered-To: net@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 F2AC41505289 for ; Mon, 25 Feb 2019 10:41:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AC58866A5 for ; Mon, 25 Feb 2019 10:41:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 95A8CED8C for ; Mon, 25 Feb 2019 10:41:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1PAfYdw088484 for ; Mon, 25 Feb 2019 10:41:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1PAfYOj088483 for net@FreeBSD.org; Mon, 25 Feb 2019 10:41:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235983] [firewire] external firewire drive does not create device node Date: Mon, 25 Feb 2019 10:41:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: scsi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 10:41:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235983 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |scsi@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 25 12:26:42 2019 Return-Path: Delivered-To: freebsd-net@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 4EFD81509240 for ; Mon, 25 Feb 2019 12:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D7BF28A5A8 for ; Mon, 25 Feb 2019 12:26:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 918CE150923F; Mon, 25 Feb 2019 12:26:41 +0000 (UTC) Delivered-To: net@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 7F412150923E for ; Mon, 25 Feb 2019 12:26:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11E288A5A5 for ; Mon, 25 Feb 2019 12:26:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 02461FCB2 for ; Mon, 25 Feb 2019 12:26:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1PCQdje066587 for ; Mon, 25 Feb 2019 12:26:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1PCQdDX066586 for net@FreeBSD.org; Mon, 25 Feb 2019 12:26:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 193762] [cc_cdg] crash after change net.inet.tcp.cc.cdg.smoothing_factor Date: Mon, 25 Feb 2019 12:26:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 12:26:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193762 --- Comment #22 from commit-hook@freebsd.org --- A commit references this bug: Author: tuexen Date: Mon Feb 25 12:25:44 UTC 2019 New revision: 344514 URL: https://svnweb.freebsd.org/changeset/base/344514 Log: MFC r343920: Ensure that when using the TCP CDG congestion control and setting the sysctl variable net.inet.tcp.cc.cdg.smoothing_factor to 0, the smoothing is disabled. Without this patch, a division by zero orrurs. PR: 193762 Reviewed by: lstewart@, rrs@ Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D19071 Changes: _U stable/12/ stable/12/sys/netinet/cc/cc_cdg.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 25 12:28:46 2019 Return-Path: Delivered-To: freebsd-net@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 7FC141509364 for ; Mon, 25 Feb 2019 12:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 125078A6E0 for ; Mon, 25 Feb 2019 12:28:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C54CD1509363; Mon, 25 Feb 2019 12:28:45 +0000 (UTC) Delivered-To: net@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 B268E1509362 for ; Mon, 25 Feb 2019 12:28:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D3108A6DE for ; Mon, 25 Feb 2019 12:28:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4696FFCBC for ; Mon, 25 Feb 2019 12:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1PCSiAS068767 for ; Mon, 25 Feb 2019 12:28:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1PCSiiS068766 for net@FreeBSD.org; Mon, 25 Feb 2019 12:28:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 193762] [cc_cdg] crash after change net.inet.tcp.cc.cdg.smoothing_factor Date: Mon, 25 Feb 2019 12:28:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable11+ mfc-stable12+ X-Bugzilla-Changed-Fields: bug_status resolution flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 12:28:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193762 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED Flags|mfc-stable11?, |mfc-stable11+, |mfc-stable12? |mfc-stable12+ --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 25 20:38:59 2019 Return-Path: Delivered-To: freebsd-net@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 A12021515921 for ; Mon, 25 Feb 2019 20:38:59 +0000 (UTC) (envelope-from kempe@lysator.liu.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAD3480C34 for ; Mon, 25 Feb 2019 20:38:58 +0000 (UTC) (envelope-from kempe@lysator.liu.se) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id D37644000F for ; Mon, 25 Feb 2019 21:38:54 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id AF0714000A; Mon, 25 Feb 2019 21:38:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.4.1 X-Spam-Score: -1.0 Received: from drd1812.nothing.org (unknown [10.253.196.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 2970840004; Mon, 25 Feb 2019 21:38:54 +0100 (CET) Subject: Re: Infiniband: Mellanox MT26418 in ethernet mode causes crash on shutdown To: Hans Petter Selasky , freebsd-net@freebsd.org, freebsd-drivers References: <8763252f-d433-5e1e-9e3b-628e0545c8eb@lysator.liu.se> <940f6859-037b-68d6-298a-513ea6ebf7ce@selasky.org> From: Andreas Kempe Openpgp: preference=signencrypt Autocrypt: addr=kempe@lysator.liu.se; keydata= mQINBFfcARkBEACpvItp92qIKstHBKcdfFFq7/Kd52IyQuOvLtJCn9Cvbipn48wxWBc2Ytzq OT0VueYpsX85VbJkCB8aTCVfm3xlHHozbttJbwRiQuoRPQFdaRMQacaSg7g9A8DZmIshHbzk hvDw20Exa/d3B4mX/LHewWyR/v34Aw0t1OchuI/xN2qpTgTINkY4vyA057/088dbTz7Kfs5P 3TCzrycULgoke96jrAy6hjUOSHCPvLPXnQ9mq9q0u1yXpK1WnG91aU1qhSiY7ya4Sj+UkSok T5qiV08K49IJdLNvs32FRaizJqHUrdXHsel2xFAnSssqwjq/qWinR8XIZCRtuf8Vcg+/cihM KWbrEvDsnWPmzWRk4HjFmUfXTBN6NpDq5teWQmcHUxCkIG15vEa7twUlDfSfFdW2tThglz/M i2IlinT5mCa213s1mv0xRTKY/QnWQgrVK4m6gAL2vt4TQ0f/2KE7OFm4vS4HJCrleMKIROEE iycYHsFjdzL55JBm5idAPTg/da07WJZBxAIFLLvbm4XawRzyeuNCPUZt030A6OszTfV8+1XZ cB+qU2pxiD6VLfoW/HIZNLpZDTl+DkrPHK5FeVl3rMpCroWwFrZkWAWlDgRseupdbOkmiplj cqKiRoQ7414jW8PwVzHWuHZ/JDALO3JrinsBRKCiJ6wpyw1K1wARAQABtCRBbmRyZWFzIEtl bXBlIDxrZW1wZUBseXNhdG9yLmxpdS5zZT6JAlgEEwECAEICGwMGCwkIBwMCBhUIAgkKCwQW AgMBAh4BAheABQkFhWQCFiEETci4cPcl+ZcyiACiCkqKrhcKSD0FAlvxTwICGQEACgkQCkqK rhcKSD3I0hAAn0/l5GRdVrkAPrNx1DZp/3RQmEwQUZJC/0hSi7JFZHfgoA7AHeg2oVY36KAy q2oTEzA2OsDKKs6T66+CLedIpDwVKE7KPcSswHbM0ULB8sE/Kymha/+db6xQzglJtnlLEJEn OyV09exX9rqyazpAQ4/TohthrDbMqYU+MZUIULZz83Hat+Fdi4K6CwCdl4NC05xsVIDNEJks 3DivlUccZ0GX6Bx1sTYO7mSL1v4mUpEf/BWOLqm9PFyU9jniQVuabYcfPnLn/xmwXZUcTEe4 iyBzlKxDhbnFyyxG7A8N/8UDWte59t843Q+KBA6WknWorG4gmwEhGE7pB4hTFU8gM+KGm89T RZiINbYaHI/OJ2p0R2cY/LU1XGw5A5WFvLXgqAO3196KLqjKz11VHeTWI/KeZ+QAPccShZKh yXbu+cYdqfYpGRlnSx0mzCvi5NfJQw+HTIA6EMnlcc+vfsnn4X0RO4BcGoqnThIkQYWVwZPC ZxAxDciifEMdJ374eaxmORlW3hvPDHmowPST/8H6ln3nWvhZRncGcWj4Gz0QuoB6V0JKgUaV zI5NBIbpi0U/1FdB6HtWK7KH86KNvXT6FG49yNPMnnYX9Nnt/3IyTlpl4rp0zuAE5gxj9Z06 Sko5+jO2iJ6T0147cjhmiTLGySfi+kavAX0fdRSy3SxSxPC5Ag0EV9wBGQEQANRvDM/LiHoq bAGAs1IgCcSGWdcdE2pcmMTeaxH/9ZY28tyIwrnjuuYdAZwrVFgNaRlSKB/VXJ7p1Pkir2PT ruvhvhdsRQsBV56KXw55WYpN+FizQbWftvRpGy0AV/UlCtba2pxNyo1kSYUh3Lati+uIRWcp zB2ctLQ/ib58S4Kft6ZvPXLoAEMkkj/dNZDG3kK0Wr1eB30LnpxQC38EMbIDvsVt2csfFZUd qjpn0dAjJNEsWCs9WrBclYBl/TDFmyfbc4CvrVgizFdt4tKX3VK7uGXUfSHSF7CFkvqViW7D AE+p7cvkd6wwf45ivRlAe0bOiV8DzW90c7F4WbGoM+hydDeSOYy5T4ttE8mZCi/XtdZuxUBB kOUuUs0yBPYk/kdeSSvPcUep2zs3JK5Vn+pikwTsGrrYthBgrwZ3WntWHaRsinPTd3uAn5i+ 7depjtzUwz4h+s4JiCYYSKFoNyet27xF3MgT8+y5O6GkdFXoCHQ0XfsW6CU7GEdbcCWpecvh EuwrOmjFfHHd+jVMUzekUxFD49qjxKn4tZdNm/mM7zZaefjps2Srw7EzZI0sJIld1LG9dcB9 vYeunOZ4JuMo9xtTgqEW74avoxsRWvvTYMRYCWIlm5azzbqxpTSxnbicCFaEkUhye8OBdm3r eb3tk7a7m+k+sb1kV40lCMRhABEBAAGJAiUEGAECAA8CGwwFAluAMdsFCQWFZEIACgkQCkqK rhcKSD3hWw//enGvZy6YymqrxAVXBywC9BBh/Nact9O3LZ/l2PI0JSqn2+gQuqUl69SYpTuu npo4edw0DCzhFPbeND4dZP8d/iBp+AUkm+fNqtK33yNsVp6iwVqfE1fSWGT+9dqIy2uCNn09 rW2ry02l+BBzWAvOtNVdYEGx73IiIQbGMzjVCb/UCBmTbRk77svXKST97tgrMiO21KWbyDVG RgMMJSeLFnLKoWxhHUJTwwlUtOQgdVpUoZAg75Ca6LokV//e+hWXs+jcdsKLm59ZpwAxg0Am 255vdtIwaRiI3RMJ7L0+Hi9czicdx/dBo+ie5A7Ky+uKPaLIh18UeYcf9LH96wRf1ifHn8eQ ztx5Am1CMHGM8o1dd6g4ofU/dGGAT53vZAKKnZsZsYVLuvfXATdRsNpaCYBGtKlNHXQ9ZkJX gLEtUSmlq9dSRmMrDx5sK1BURkTA+UCOFqX+hSVqATDabhkaOXoR20nE1kSGpYKmfOA0eJTN 89EYGey7x3YHIBLeq/a3pFuI6AuGLXIifNzzRTyvdIwgkT77kQPmXzWybtyyc0IMSV/tBkru f70YQq+CgeA6uUFvRrRy7rP8gnWjVHguB8pwUC8Y35ibjK4ExkSpSctQXSfQ7IzDgK8IyGH4 gjRhOx2pI57kIj0vDFSpQjM8klDD7tqE/uCor1yqIdkv1r4= Message-ID: <66c8a5f3-0351-e125-41fb-66ee39cc4106@lysator.liu.se> Date: Mon, 25 Feb 2019 21:38:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <940f6859-037b-68d6-298a-513ea6ebf7ce@selasky.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 20:38:59 -0000 On 2019-02-25 10:28, Hans Petter Selasky wrote: > I think the if_down() call is not strictly needed. ether_ifdetach() > already does this. Can you test the patch w/o the if_down() call? > I only added the call because I was not sure what would happen if you destroy the port for an active interface. If it could cause issues if operations are performed on the interface while it is being destroyed. That said, I've tested without the call to if_down() and it seems to work. Cordially, Andreas Kempe From owner-freebsd-net@freebsd.org Tue Feb 26 03:35:15 2019 Return-Path: Delivered-To: freebsd-net@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 BC7311505C9D for ; Tue, 26 Feb 2019 03:35:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8F295322 for ; Tue, 26 Feb 2019 03:35:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0EDBA1505C97; Tue, 26 Feb 2019 03:35:15 +0000 (UTC) Delivered-To: net@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 F0E5B1505C94 for ; Tue, 26 Feb 2019 03:35:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EAFA95316 for ; Tue, 26 Feb 2019 03:35:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BA68618203 for ; Tue, 26 Feb 2019 03:35:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1Q3ZDCg080171 for ; Tue, 26 Feb 2019 03:35:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1Q3ZDlF080170 for net@FreeBSD.org; Tue, 26 Feb 2019 03:35:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 153731] [patch] ifconfig(8): ifconfig prints trailing whitespace for interfaces that do not have IFF_BROADCAST (like point to point) Date: Tue, 26 Feb 2019 03:35:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 03:35:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D153731 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Tue Feb 26 03:34:48 UTC 2019 New revision: 344559 URL: https://svnweb.freebsd.org/changeset/base/344559 Log: ifconfig: eliminate trailing whitespace Eliminate trailing whitespace on inet, inet6, and groups lines. I think t= he "list txpower" command will still show some, but I'm not able to test tha= t. PR: 153731 Reported-by: Nikolay Denev MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D19004 Changes: head/sbin/ifconfig/af_inet.c head/sbin/ifconfig/af_inet6.c head/sbin/ifconfig/ifconfig.c head/sbin/ifconfig/ifgroup.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 26 14:57:43 2019 Return-Path: Delivered-To: freebsd-net@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 25FD4151BCF1 for ; Tue, 26 Feb 2019 14:57:43 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7774288DFE for ; Tue, 26 Feb 2019 14:57:42 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 3D65E1C9D5 for ; Tue, 26 Feb 2019 14:57:42 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.23.186] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id C31D3D0E4 for ; Tue, 26 Feb 2019 17:57:39 +0300 (MSK) To: freebsd-net@freebsd.org Reply-To: lev@FreeBSD.org From: Lev Serebryakov Subject: Can Intel 82574L (em) turn off flow control? Openpgp: preference=signencrypt Autocrypt: addr=lev@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFKbGksBEADeguVs+XyJc3mL3iiOBqDd16wSk97YTJYOi4VsHsINzJr09oFvNDiaDBIi fLn2p8XcJvehcsF2GSgrfXfw+uK4O1jyNIKJmiYA0EtE+ZbRtvDrrE0w6Q8+SDeKA21SWh3Y vSQ0DJUontbgW55ER2CbEiIUTIn34uQ0kmESAaw/v5p/9ue8yPTmURvv130FqPFz8VPzltqL NxyGt54TxPfKAzAHEIwxlEZ63JOwzloKh1UDBExcsf9nJO08/TAVgR5UZ5njFBPzaaquhRoP qPJLEQQDqxPIlvMNtHKf7iIebE4BHeqgCdJA0BoiR6gpa0wlsZtdrTPK3n4wYSphLvGbhfOZ YW/hbcu7HYS/FImkVxB3iY17kcC1UTnx4ZaYeASPBGOOPbXky1lLfmDGWIFT//70yx+G17qD OZzF1SvJJhGvh6ilFYaWMX7T+nIp6Mcafc4D7AakXM+XdubNXOMlCJhzPcZ0skgAEnYV587w V7em5fDVwQccwvtfezzqKeJAU5TGiywBHSR5Svzk2FwRNf6M//hWkpq0SRR63iOhkHGOAEBi 69GfEIwH2/w24rLxP0E+Hqq8n+EWNkPatw1Mhcl5PKkdvGCjJUaGNMkpBffjyYo254JXRscR eEnwdIkJt4ErDvjb2/UrOFq31wWMOiLzJeVchAgvTHBMRfP9aQARAQABtCFMZXYgU2VyZWJy eWFrb3YgPGxldkBGcmVlQlNELm9yZz6JAlYEEwEIAEACGwMHCwkIBwMCAQYVCAIJCgsEFgID AQIeAQIXgBYhBPltHKC19DGLZ0szCuqwPFi/3EePBQJb/TeXBQkPBbfGAAoJEOqwPFi/3EeP LtEQANQLS89OCDSnLDZLyCj7sH5GZbTikJp9Or2McqEOpjgtfY/OgqCe7lfo8f71tTN3gL2t VGtNEtsl6CqKeBdm6fqsetCAed2+waJfbXLZWReLRSFQJ/cbof8MB3h/uEw8Zng1ZbyEU0eG rc41Mhk8bTfxjNRjkXDbp0+2xug+eRr2RYhiY2SxH+iy57AbRIu9gkjfL05VztfvsV5dPxt7 +reHf2Vhtu+qCRtCytGQqDvYWGpVZ8U5fHJxFdsJpn66LAe8w+iRGCbppB5TKeHkqWqDb++u sd5ZHzwep/7qcLBeKggi8+a2C3J1J4TpYBwdPgusrGtBPf2EYSTc/0mW5j86g1l8UDN9qXAI FvWbKf22p5SlYUzf5qRLny4ZdDl1mH13lmJV7ZkZGMKnt0IjJ2x0LRgLGhiSm/D4Lh8yc/MX uhj9BB020XbWcMUPpA7S7YaWeIXbnK3NrPU0yk77prFJblfskOwuaxJIwa2mX+cCAQA95As5 2talifo4Kh8OLSvS1gpbMo64LllTzuGbCWuKecH3fpMlZlD7/10z9lBvkSXA7KgadDfN0yHO xGCK8KE9gXXmEVRlbgGDYOJw9FLWHuSZHUvQTkmr4goXrmMIKa9A4BKO3s9vowP4pJ0vp3kz MIBeEwKSvAeZZfgKbIKggKUuQ5gsAqvF360sG3+UuQINBFKbGksBEAC0a9wfjo2P3JyT7Lc+ QlbFVshGbSbazb4ma7QYG5IZZD5vfLBFkePoG6cnrn3WCXp4A43hszAynCwe4eXyAkv4+gPF 3ZSeNE5Wz3zYG+jh2nm2iGCkyaVykfbA+2chor2DKH5tHpuNMBlF+wSJHZKJmlo/sFIktAnV 1NBVg4/cL+9/hIpvl82cl3hYCD7/e7/qRE+w38CpAAzn65FvbODn7xlY3fsJt+cHPBJ4EBM9 KnTwcce+F+72RQMZQEl7vIAwSRmLdgZHN0MFC533l62SVoKjT0eaOOIBrvesmojhWjfwugib Xr+WRF/tGcW77Bxwe2eQLbEVESqWeMORxRxocx7Q7aACoHmf4G4U1Vzx7zUEfNfHjfjZeQVf AURf/MoUelZSW/BmMIfKCg3lRlWAt+Pq2h2UADPVqAZze45beE/c8z8LZsOZiGoRhYL8NSg6 +ziLTdmYLWdtFGAuZhqOtNp5h6tGj21OksBotcaIa5YjbCmmnImIjGlSBkUKvIhq/RXth5b2 gNwaQdu+Yv4AlZVHRsuVywL/skDFL5+We11bDK6MQ5PzvmntRJcgbyoisn1hiV04OV1LpJJM kJn1j8VlBqDQNT/z+BjB0ru/0anv+5uLj7v0ck06rEo4yiXT/ZAcBM76j7V7FaGbkoba6bUU CQ2H5YYBOKpikjCnpwARAQABiQI8BBgBCAAmAhsMFiEE+W0coLX0MYtnSzMK6rA8WL/cR48F Alv9N7IFCQ8Ft+cACgkQ6rA8WL/cR49wpw//W7QrZHKYUWEVHtPLVMlcM1f7MgwnYlIRe/I6 gykwvt87sqxSYu7eHxfX6JZR2M9UYuUYscSR57gxXKu2Uzqaz2KjvEIXJCwCTsuXZjkQ19oL hAPsucw2AcMI6YqPXbZ7hO0Mh8jMeJzD6vDvx3zvunQxGQoZKxr3BvRUyO7NCYbA7N8ccI3E Tmdjj9JTbtue9WaUeGLszFDiITmkASBdsK07y4ylLAJzUGCvYLBU3gx0bBOB2S8SbxHYmQlj ewjovbp+MbT+CoXNxZp+gDRModGyIMdRIotkRiDbgNl0VWIT0SS1GUUlUHKzQ/ZPUvpvk6Gq s/SYBS7rBQNSoXXmJxNW6I6atVNW7JhInC1tkHxBlbpik4FK07J6NHFTx+9ygyCxbxwNA/Le FGkL3kU0VFXR2dNiAVbeueUPF6tU5Bye5ftgpLKOSAbo1g++EKUkc8335/4oYRBMcGEk4xUr NAvzoFPhA2W3KtklruJ9ThrFt9+//NB5ySlVgTwGWMuBJoskEmNOTBv34/UQPUIuE4xSwy6y H+nRQJooiMFo5QCosslJPlwyV63NS9lYXB6n3QWOCP6sFdWACNUCOFv4uk7LQdY9BsCmt2Tk cLuHmoS+fvUesQXnYV2aQi9HciriPIj2gvJ6WjgiaC/PpePil0fzyrfG/JMyHL0qcgmYoj0= Organization: FreeBSD Message-ID: Date: Tue, 26 Feb 2019 17:57:32 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VUykBPKA2rgLnRlD4V63j4ElRafAUxHwy" X-Rspamd-Queue-Id: 7774288DFE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 14:57:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VUykBPKA2rgLnRlD4V63j4ElRafAUxHwy Content-Type: multipart/mixed; boundary="jkv6rRiKksA5d2MjNgeeB3dVTP3D7h4rM"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: freebsd-net@freebsd.org Message-ID: Subject: Can Intel 82574L (em) turn off flow control? --jkv6rRiKksA5d2MjNgeeB3dVTP3D7h4rM Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable I'm seeing very strange situation when try to send a lot of traffic (with netmap pkt-gen) from 82574L to 82574L NICs. I'm using 13-CURRENT, with fc turned off (dev.em.X.fc=3D0). But still, `pkt-gen` can not send more packets per second than receiving side could process! When 82574L NIC sends to i210 NIC it could send much more than receiving side could process, and there are expected number of lost packe= ts. But when receiving side is 82574L too, `pkt-gen -f tx` shows statisitcs like this: # pkt-gen -f tx -N -4 -i em1 -l 60 -R 744000 =2E.. 531.511259 main_thread [2464] 217104 pps (218624 pkts 104939520 bps in 1007000 usec) 429.52 avg_batch 99999 min_space 532.547259 main_thread [2464] 216958 pps (224768 pkts 107888640 bps in 1035999 usec) 426.50 avg_batch 99999 min_space 533.548256 main_thread [2464] 216872 pps (217088 pkts 104202240 bps in 1000998 usec) 426.50 avg_batch 99999 min_space =2E.. 217104 pps instead of requested 744000! Generator could generate much more if I have, say, switch on other side. Is it limitation of 82574L or bug in driver? --=20 // Lev Serebryakov --jkv6rRiKksA5d2MjNgeeB3dVTP3D7h4rM-- --VUykBPKA2rgLnRlD4V63j4ElRafAUxHwy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlx1U9xfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R49AaQ/7BHlCIvUbSDSifp5HlaiOtz7Epddmz1nzzJ4izp5KqGLSi9CJ0AWLG/cB +TY1hAUKy8xUPfLDjZ5NKcumDs5eLtVUX9hbcEXHa1jOcfulGBb2dFzmg64ycwJC XZMhSO17MD2k363WVDmaNJPBCq7AWli0HpPGuUsMB/LCvKjlgig5QeVC1HPDA9uo ugHTnHp3BaeN/B1NCgvm7AwtNLZvFgkuifrRx8iaYOZGFIobpZBTxkzdjdhrCpDV nJVfXApgZOOMPxg96UysrTsdDS92nEJdKsrAYEkuVSfudxUfqu7IP4LgcCV7viMa 94vMyWDOY8rJB+SVVans6ZHT2HM2xuUdtGw+8Xh28A8lZjeYbFwSxXOOztUr17/A sBaCICT8FXQ1k/B2PC+mKHv6T8yxZc0lzkvv6yO9BwFCn35dTqwjWBDUFE4BDPQL s3bAyXrjihiY9Hkm3rXAoV3RaCDP6N9VkYQR0tGKYUHKis7rPwlUHORo1wgFC4na qIzIZfrybSsY2wUn2J8nT4zjntmaWG5FOm7iJKmxeZyXnrzuZt65+UZRxs01clkg QlTZad8drrudnygzUgP0lp/j35OZAPfl/hpIXRBJzLlH86Db+LOwWbILu7sDuESh 3L7+ap+NSD6+RKJLnF0hTcD2JxO61DjCSbPQIrPvsixfj7M3z5k= =FVJf -----END PGP SIGNATURE----- --VUykBPKA2rgLnRlD4V63j4ElRafAUxHwy-- From owner-freebsd-net@freebsd.org Tue Feb 26 21:01:21 2019 Return-Path: Delivered-To: freebsd-net@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 3C03E1503CF7 for ; Tue, 26 Feb 2019 21:01:21 +0000 (UTC) (envelope-from elizabeth@eventdatamine.com) Received: from NEW-02-4.privateemail.com (new-02-4.privateemail.com [198.54.122.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "privateemail.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 781D973081 for ; Tue, 26 Feb 2019 21:01:19 +0000 (UTC) (envelope-from elizabeth@eventdatamine.com) Received: from NEW-02-2.privateemail.com (unknown [10.20.150.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by NEW-02-4.privateemail.com (Postfix) with ESMTPS id 7849D8075E for ; Tue, 26 Feb 2019 21:01:11 +0000 (UTC) Received: from MTA-07-1.privateemail.com (unknown [10.20.147.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by NEW-02.privateemail.com (Postfix) with ESMTPS id 739F9603E1 for ; Tue, 26 Feb 2019 21:01:11 +0000 (UTC) Received: from MTA-07.privateemail.com (localhost [127.0.0.1]) by MTA-07.privateemail.com (Postfix) with ESMTP id 6245A60053 for ; Tue, 26 Feb 2019 16:01:11 -0500 (EST) Received: from DESKTOP9H8BFK9 (unknown [10.20.151.231]) by MTA-07.privateemail.com (Postfix) with ESMTPA id 9ECEB6004F for ; Tue, 26 Feb 2019 21:01:10 +0000 (UTC) From: "Elizabeth Knight" To: Subject: IDEA 2019-Attendee Portal Date: Tue, 26 Feb 2019 16:00:47 -0500 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdTOFk8pvke0L38YRkODxfxZAENyAQ== Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 781D973081 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of elizabeth@eventdatamine.com designates 198.54.122.48 as permitted sender) smtp.mailfrom=elizabeth@eventdatamine.com X-Spamd-Result: default: False [-1.92 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.92)[-0.920,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.54.122.32/27]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.35)[0.346,0]; MX_GOOD(-0.01)[mx2.privateemail.com,mx1.privateemail.com]; DMARC_NA(0.00)[eventdatamine.com]; IP_SCORE(-0.04)[ipnet: 198.54.122.0/24(-0.19), asn: 22612(0.07), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:22612, ipnet:198.54.122.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 21:01:21 -0000 Dear Exhibitor, Would you be interested in obtaining the IDEA 2019 Attendees List? IDEA 2019 Attendees list is available now, with All contacts are permission pass and provided with complete contact information including direct business email address on an excel spread-sheet. Attendees: . Senior Leadership ( CEO, President, Owner, VP, etc ) . Research & Development ( Technical, Engineer, etc ) . Sales & Marketing . Purchasing . Office Management . Accounts, Finance, Human Resources Information fields include: First Name, Last Name, Title, Company, Contact Number, Website, Mailing address and contact person verified business email address etc. Kindly let me know your interest so that I can get back to you with Counts and Pricing for attendees list. Thank you and I Look forward to hearing from you. Regards, Elizabeth Knight IDEA 2019 Attendees Specialist Note: If you do not wish to receive further E-mails please reply us with opt out in subject line From owner-freebsd-net@freebsd.org Wed Feb 27 02:29:42 2019 Return-Path: Delivered-To: freebsd-net@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 A96C5150C64B for ; Wed, 27 Feb 2019 02:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 39EFF87553 for ; Wed, 27 Feb 2019 02:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E9C08150C648; Wed, 27 Feb 2019 02:29:41 +0000 (UTC) Delivered-To: net@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 D5947150C647 for ; Wed, 27 Feb 2019 02:29:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D0DD8754D for ; Wed, 27 Feb 2019 02:29:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 978B24B68 for ; Wed, 27 Feb 2019 02:29:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1R2Te8d029364 for ; Wed, 27 Feb 2019 02:29:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1R2TeNs029362 for net@FreeBSD.org; Wed, 27 Feb 2019 02:29:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236067] [em] Intel 82574L can not turn off flow control Date: Wed, 27 Feb 2019 02:29:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 02:29:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236067 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 27 09:53:36 2019 Return-Path: Delivered-To: freebsd-net@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 41F371517BA9 for ; Wed, 27 Feb 2019 09:53:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BF1896FA83 for ; Wed, 27 Feb 2019 09:53:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7FA1E1517BA8; Wed, 27 Feb 2019 09:53:35 +0000 (UTC) Delivered-To: net@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 69B8A1517BA7 for ; Wed, 27 Feb 2019 09:53:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E99086FA81 for ; Wed, 27 Feb 2019 09:53:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1310F8D05 for ; Wed, 27 Feb 2019 09:53:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1R9rXI1055541 for ; Wed, 27 Feb 2019 09:53:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1R9rXSQ055540 for net@FreeBSD.org; Wed, 27 Feb 2019 09:53:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Wed, 27 Feb 2019 09:53:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 09:53:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 --- Comment #7 from Kristof Provost --- I've updated the patch on https://reviews.freebsd.org/D19248 to fix the unit number issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 27 22:12:54 2019 Return-Path: Delivered-To: freebsd-net@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 E466D1506E00 for ; Wed, 27 Feb 2019 22:12:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7E53993026 for ; Wed, 27 Feb 2019 22:12:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3D48D1506DFF; Wed, 27 Feb 2019 22:12:53 +0000 (UTC) Delivered-To: net@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 2BDBF1506DFE for ; Wed, 27 Feb 2019 22:12:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF11493020 for ; Wed, 27 Feb 2019 22:12:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0A8B4FAEC for ; Wed, 27 Feb 2019 22:12:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1RMCp3b081886 for ; Wed, 27 Feb 2019 22:12:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1RMCpOI081885 for net@FreeBSD.org; Wed, 27 Feb 2019 22:12:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236067] [em] Intel 82574L can not turn off flow control Date: Wed, 27 Feb 2019 22:12:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 22:12:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236067 Eric Joyner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erj@freebsd.org --- Comment #1 from Eric Joyner --- Are you using the in-kernel driver in CURRENT on both sides? Do they both h= ave 82574L? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 27 22:15:02 2019 Return-Path: Delivered-To: freebsd-net@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 A2A7B1506EF4 for ; Wed, 27 Feb 2019 22:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 35ADB93103 for ; Wed, 27 Feb 2019 22:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E88311506EF1; Wed, 27 Feb 2019 22:15:01 +0000 (UTC) Delivered-To: net@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 D59F31506EF0 for ; Wed, 27 Feb 2019 22:15:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F745930FE for ; Wed, 27 Feb 2019 22:15:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 94E40FAF0 for ; Wed, 27 Feb 2019 22:15:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1RMF0Ws084351 for ; Wed, 27 Feb 2019 22:15:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1RMF0IV084348 for net@FreeBSD.org; Wed, 27 Feb 2019 22:15:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236067] [em] Intel 82574L can not turn off flow control Date: Wed, 27 Feb 2019 22:15:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 22:15:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236067 --- Comment #2 from Eric Joyner --- (In reply to Eric Joyner from comment #1) Sorry, I re-read your initial comment; it looks like this problem only occu= rs when both sides are 82574L. That's interesting. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 27 23:15:40 2019 Return-Path: Delivered-To: freebsd-net@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 6558015085E5 for ; Wed, 27 Feb 2019 23:15:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EEE7D956E5 for ; Wed, 27 Feb 2019 23:15:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A542A15085E4; Wed, 27 Feb 2019 23:15:39 +0000 (UTC) Delivered-To: net@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 66DF515085E3 for ; Wed, 27 Feb 2019 23:15:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA4CA956DF for ; Wed, 27 Feb 2019 23:15:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 36FE7103C2 for ; Wed, 27 Feb 2019 23:15:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1RNFcFe040865 for ; Wed, 27 Feb 2019 23:15:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1RNFcEq040864 for net@FreeBSD.org; Wed, 27 Feb 2019 23:15:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 234026] [panic] [dummynet] Repeatable panic in dummynet due to locking issues and use-after-free Date: Wed, 27 Feb 2019 23:15:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: noresponse@yandex.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 23:15:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234026 Stanislav Trofimov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |noresponse@yandex.ru --- Comment #1 from Stanislav Trofimov --- Hi Same problem on FreeBSD 12.0-RELEASE-p3 GENERIC Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x0 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0x0 stack pointer =3D 0x28:0xfffffe003ee448d0 frame pointer =3D 0x28:0xfffffe003ee44950 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (dummynet) trap number =3D 12 panic: page fault cpuid =3D 0 time =3D 1551299285 KDB: stack backtrace: #0 0xffffffff80be7977 at kdb_backtrace+0x67 #1 0xffffffff80b9b563 at vpanic+0x1a3 #2 0xffffffff80b9b3b3 at panic+0x43 #3 0xffffffff8107496f at trap_fatal+0x35f #4 0xffffffff810749c9 at trap_pfault+0x49 #5 0xffffffff81073fee at trap+0x29e #6 0xffffffff8104f435 at calltrap+0x8 #7 0xffffffff80d26cdd at ip_input+0x45d #8 0xffffffff80cbc576 at netisr_dispatch_src+0xd6 #9 0xffffffff82e6ea1e at dummynet_send+0x1ae #10 0xffffffff82e6e3af at dummynet_task+0x2ef #11 0xffffffff80bf9cb4 at taskqueue_run_locked+0x154 #12 0xffffffff80bfae18 at taskqueue_thread_loop+0x98 #13 0xffffffff80b5bf33 at fork_exit+0x83 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 01:11:50 2019 Return-Path: Delivered-To: freebsd-net@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 DC07C150C006 for ; Thu, 28 Feb 2019 01:11:49 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660061.outbound.protection.outlook.com [40.107.66.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C6D06BFEC; Thu, 28 Feb 2019 01:11:46 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM (52.132.89.15) by QB1PR01MB2756.CANPRD01.PROD.OUTLOOK.COM (52.132.87.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21; Thu, 28 Feb 2019 01:11:44 +0000 Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c]) by QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c%6]) with mapi id 15.20.1643.022; Thu, 28 Feb 2019 01:11:44 +0000 From: Rick Macklem To: FreeBSD Net CC: "Bjoern A. Zeeb" , "rgrimes@freebsd.org" Subject: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Topic: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Index: AQHUzwGwHmKnVmR//0yzd/zC2ycfBQ== Date: Thu, 28 Feb 2019 01:11:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3f05e774-6e32-476a-aea9-08d69d19b48e x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:QB1PR01MB2756; x-ms-traffictypediagnostic: QB1PR01MB2756: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; QB1PR01MB2756; 23:Yo7a81glokTDaH2sDvWLtdOhQIcPYdVOHCg/k1R?= =?iso-8859-1?Q?y+2w6xlheTE6RmYtjRc1BQpzZ8I5y7lWnLz9mxTfTdpStI/mYjA9lAwUGF?= =?iso-8859-1?Q?utYv9OVybUURlTGTS2H+QBDnjE0zvcPZJkr9JmMvkAny2/RP+H6e4jtCqx?= =?iso-8859-1?Q?dAmr10ET5mKUXQyqFXORM7EN/DbTOcYG73yk4OPZZPOdP/QIr/TnwxBEoH?= =?iso-8859-1?Q?MXyA0Vj4w0f5U7zOd3H1j6sbJXcFUjLa5yp2/x3y8xPM/MijDDl8Yt8AoW?= =?iso-8859-1?Q?Is3DOAEgudorK1Mp0L7brcjLxP+UQrbcvitpd4iQNIcgwHJazH39X8kHr5?= =?iso-8859-1?Q?qN0q4f8oAcCfLtqtLT6IaBUSaJB96EnEKbJ37+DtF5u7ogvAE19KZUBTgM?= =?iso-8859-1?Q?WNSAGEQGJitwOYgNugdEVFVa8I5eBf0gbvaLszVQX3Ion+k+3C7BwjnJju?= =?iso-8859-1?Q?tjFWryu96VVf0SvFkCm50oO30G78jp/65nXhyRRndEFlMgHhpFmRBzh/ks?= =?iso-8859-1?Q?JgsY/ODsWyhxDliIe/3CD4Rb7H3MPspjdhNHCn9o2VOKoy3YW6CNX0CSGn?= =?iso-8859-1?Q?4pCBNt45hg/eioHYGgspzdTeUAlk/sf7lxn7FcPQAcbVSkOBmBWHk+NCyj?= =?iso-8859-1?Q?Wt/+1KxhIUTQLkKunMb/6O/0+UtqFqlD1Lzn6Otc80bbAi5ux56HsDGei/?= =?iso-8859-1?Q?lO8GCJTHsX9gzrJvII1y/PhYz5lhzDmK6bnlFC/ApXAGJYpj7kXjgo/PAE?= =?iso-8859-1?Q?Wk4MdqipEtPU1D97l7j6617/csUQbAQs4tI3Gl2r1Q1bPJzQuVlydXOfS3?= =?iso-8859-1?Q?O/LGxxhEvE1OQSar5slEv/sPmaB+8oIgHqstI2SLRviyNjQG1CnoYPZtmX?= =?iso-8859-1?Q?jZ6dIYe+9cQeU6pdN1hIqVFSbBCQB/lO/zxWkqThqiG1DCm1V2UzYd81z6?= =?iso-8859-1?Q?9LP5isAZrRZPSnZQMV06VekMBqThCy5v4xnGTkOfwVOiM0DiW8k/WNQNR1?= =?iso-8859-1?Q?DqirZptTLmbHxa7dyRKiU9CrhG5xEML5170NY5mDRm9MBDMfq3jFhfgK8L?= =?iso-8859-1?Q?LCbzRc6UBsRdvL01IKJqQf+mtM6sFRAoKxIIWdHo8HyTgfKAlabJKwhhh/?= =?iso-8859-1?Q?6LKEIS5LTjVHXIsr6cAynbOTcow=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0962D394D2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(376002)(366004)(396003)(189003)(199004)(9686003)(6436002)(7696005)(256004)(74482002)(5660300002)(71190400001)(68736007)(33656002)(6506007)(46003)(4326008)(55016002)(97736004)(71200400001)(450100002)(86362001)(316002)(786003)(305945005)(25786009)(105586002)(106356001)(476003)(6916009)(486006)(53936002)(478600001)(8936002)(102836004)(14454004)(81166006)(8676002)(81156014)(2906002)(54906003)(99286004)(74316002)(186003)(4744005); DIR:OUT; SFP:1101; SCL:1; SRVR:QB1PR01MB2756; H:QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: quprNnhNfiroPyAuoa3shOGTG+/3wmfz+yjNJBECwtJvUcw7Jj2YuYiVQnblWHkn0Ch68m5Ubh1onpMDub/t17WKRArd6hDwrUp9NKHm/s8na7th/phQWoi49oBft63NnYJNfbcq1ELaCB7ZgSh4UeR+vnkFZ38pop6mr/EsgRa60lCFG3jyAzfpaXNvB0TUsWDmKfsYzbYY6bwDVIE7I+Zt4MBwhApkD+3hM658gjl0u3HYTilbL+WN1CvrdseenxW+gz4Dc0t5uAQrYPDngVxXUhPt5JUVhYV1Q8StCbBQXVLd0ViuFcHaLr7rkEIb/g3fV6bSswZH6c1gtFJi49v7b4SVvOivrq0anKJBhJePjf872+3C/aP7AgYHqcPlSAzIYrK+SgcdkUotxCQG7SqPaQnbo2nRoCdbG0+A3Ck= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 3f05e774-6e32-476a-aea9-08d69d19b48e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2019 01:11:44.7516 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB2756 X-Rspamd-Queue-Id: 3C6D06BFEC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.66.61 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-1.52 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.761,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[uoguelph.ca]; NEURAL_HAM_LONG(-0.90)[-0.897,0]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.45)[0.449,0]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com]; RCVD_IN_DNSWL_NONE(0.00)[61.66.107.40.list.dnswl.org : 127.0.3.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 01:11:50 -0000 I thought (can't remember when/how I was told) that it was no longer recommended to add #ifdef INET or #ifdef INET6 to the kernel sources. I'll admit I think #ifdef'ng code when it isn't necessary to get it to buil= d makes the code less readable and, as such, I prefer not to do this. So, is this still recommended for blocks of code that only execute for the = version of IP, but will build for kernels that do not have the particular "options = INET{6}" in the kernel config? If it is still recommended, I will do it, but I'll admit I don't understand= why it should be done? (All it does is reduce the size of the executable by a small amoun= t and that doesn't seem significant to me.) rick From owner-freebsd-net@freebsd.org Thu Feb 28 01:39:56 2019 Return-Path: Delivered-To: freebsd-net@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 37624150E306 for ; Thu, 28 Feb 2019 01:39:56 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE2D06DAC7; Thu, 28 Feb 2019 01:39:55 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 896F6B16F; Thu, 28 Feb 2019 01:39:55 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 401C08D4A16E; Thu, 28 Feb 2019 01:39:54 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 2AEF4D248E2; Thu, 28 Feb 2019 01:39:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id dSlKoyQcfCHp; Thu, 28 Feb 2019 01:39:51 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:2ef0:eeff:fe03:ee34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 729ABD2334D; Thu, 28 Feb 2019 01:39:51 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Rick Macklem" Cc: "FreeBSD Net" , rgrimes@freebsd.org Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources Date: Thu, 28 Feb 2019 01:39:51 +0000 X-Mailer: MailMate (2.0BETAr6135) Message-ID: <8EDE90B3-0C33-47B5-88D8-964B131AEE2E@FreeBSD.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: CE2D06DAC7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 01:39:56 -0000 On 28 Feb 2019, at 1:11, Rick Macklem wrote: > I thought (can't remember when/how I was told) that it was no longer > recommended to add > #ifdef INET > or > #ifdef INET6 > to the kernel sources. Not sure who said this. > I'll admit I think #ifdef'ng code when it isn't necessary to get it to > build makes the > code less readable and, as such, I prefer not to do this. We all agree on this. > So, is this still recommended for blocks of code that only execute for > the version > of IP, but will build for kernels that do not have the particular > "options INET{6}" > in the kernel config? Yes. > If it is still recommended, I will do it, but I'll admit I don't > understand why it should > be done? (All it does is reduce the size of the executable by a small > amount and > that doesn't seem significant to me.) That small amount is still relevant on some devices where people go to great lengths to fit our constantly growing base into a tiny small thingy. And it allows you to lose code from your kernel that you don’t need/want, such as if you’d want to rip out all INET sources from a tree. I know both of these groups still do exist. Also every code not compiled in is not an attack surface, where you think it’s executed or not. /bz From owner-freebsd-net@freebsd.org Thu Feb 28 01:58:48 2019 Return-Path: Delivered-To: freebsd-net@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 D60BE150F234 for ; Thu, 28 Feb 2019 01:58:47 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 055DE6E630; Thu, 28 Feb 2019 01:58:46 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x1S1wivV053905; Wed, 27 Feb 2019 17:58:45 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x1S1wi7s053904; Wed, 27 Feb 2019 17:58:44 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201902280158.x1S1wi7s053904@pdx.rh.CN85.dnsmgr.net> Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources In-Reply-To: <8EDE90B3-0C33-47B5-88D8-964B131AEE2E@FreeBSD.org> To: "Bjoern A. Zeeb" Date: Wed, 27 Feb 2019 17:58:44 -0800 (PST) CC: Rick Macklem , FreeBSD Net , rgrimes@FreeBSD.org Reply-To: rgrimes@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 055DE6E630 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.73 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[rgrimes@FreeBSD.org]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.90)[0.896,0]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; NEURAL_SPAM_LONG(0.79)[0.794,0]; NEURAL_SPAM_MEDIUM(0.14)[0.140,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.01)[ip: (0.06), ipnet: 69.59.192.0/19(0.03), asn: 13868(0.01), country: US(-0.07)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 01:58:48 -0000 > On 28 Feb 2019, at 1:11, Rick Macklem wrote: > > > I thought (can't remember when/how I was told) that it was no longer > > recommended to add > > #ifdef INET > > or > > #ifdef INET6 > > to the kernel sources. > > Not sure who said this. > > > I'll admit I think #ifdef'ng code when it isn't necessary to get it to > > build makes the > > code less readable and, as such, I prefer not to do this. > > We all agree on this. > > > > So, is this still recommended for blocks of code that only execute for > > the version > > of IP, but will build for kernels that do not have the particular > > "options INET{6}" > > in the kernel config? > > Yes. > > > > If it is still recommended, I will do it, but I'll admit I don't > > understand why it should > > be done? (All it does is reduce the size of the executable by a small > > amount and > > that doesn't seem significant to me.) > > That small amount is still relevant on some devices where people go to > great lengths to fit our constantly growing base into a tiny small > thingy. Yep Most ISP's are still not delivering ipv6 to the home in the USA. Using a tunnel protocol instead. > And it allows you to lose code from your kernel that you don?t > need/want, such as if you?d want to rip out all INET sources from a > tree. I buildworld, not just the kernel, without INET6 for all of my ipv4 only node areas. I know I am a mintory there, but there are probably others. > > I know both of these groups still do exist. > > Also every code not compiled in is not an attack surface, where you > think it?s executed or not. This last reason is/was a prevelent one for me for a long time, diven ipv6 is trying to autoconfigure stuff and interfaces just get a link local address that is reachable that I would have to secure. Its was/is a royal pita to do that for lots of machines. Am I missing something in there is just some way to turn off the link local ipv6 address? For people in the ipv6 only world disabling the ipv4 code is the right thing to do as well. In the future this would become the default and the ipv4 bits shall rot, break and then be removed. > /bz -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-net@freebsd.org Thu Feb 28 06:58:54 2019 Return-Path: Delivered-To: freebsd-net@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 A787D151D9F9 for ; Thu, 28 Feb 2019 06:58:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3DE2082E90 for ; Thu, 28 Feb 2019 06:58:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E9343151D9F8; Thu, 28 Feb 2019 06:58:53 +0000 (UTC) Delivered-To: net@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 D53B6151D9F7 for ; Thu, 28 Feb 2019 06:58:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B72782E8B for ; Thu, 28 Feb 2019 06:58:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 89C3B146CC for ; Thu, 28 Feb 2019 06:58:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1S6wqsQ033597 for ; Thu, 28 Feb 2019 06:58:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1S6wqsw033595 for net@FreeBSD.org; Thu, 28 Feb 2019 06:58:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 233955] net/wireguard Occassional hard reboot of FreeBSD 11.2-RELEASE-p6 when used together with setfib(1) Date: Thu, 28 Feb 2019 06:58:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: manas@bhatnagar.net.in X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 06:58:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233955 --- Comment #8 from Manas Bhatnagar --- I see this on FreeBSD 12.0-RELEASE-p3 without setfib as well. Every 'wg-qui= ck down wg0' command has resulted in a hard reboot. wireguard-0.0.20190123 wireguard-go-0.0.20181222 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 07:38:52 2019 Return-Path: Delivered-To: freebsd-net@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 011A7151F946 for ; Thu, 28 Feb 2019 07:38:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBD0848BD for ; Thu, 28 Feb 2019 07:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 440DA151F944; Thu, 28 Feb 2019 07:38:51 +0000 (UTC) Delivered-To: net@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 30202151F943 for ; Thu, 28 Feb 2019 07:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7BC5848B9 for ; Thu, 28 Feb 2019 07:38:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C37D414C9A for ; Thu, 28 Feb 2019 07:38:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1S7cnLa059574 for ; Thu, 28 Feb 2019 07:38:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1S7cndc059571 for net@FreeBSD.org; Thu, 28 Feb 2019 07:38:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 233955] net/wireguard Occassional hard reboot of FreeBSD 11.2-RELEASE-p6 when used together with setfib(1) Date: Thu, 28 Feb 2019 07:38:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 07:38:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233955 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #9 from Marek Zarychta --- 12-STABLE panicked once for me while deactivating wireguard interface (in f= ib 0). I haven't seen such an issue on 13-STABLE yet, despite the fact I am us= ing wireguard here more often. I can provide neither crash dumps nor additional information. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 07:39:49 2019 Return-Path: Delivered-To: freebsd-net@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 77116151FA0F for ; Thu, 28 Feb 2019 07:39:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF6B84926 for ; Thu, 28 Feb 2019 07:39:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C545D151FA0B; Thu, 28 Feb 2019 07:39:48 +0000 (UTC) Delivered-To: net@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 B3DC9151FA0A for ; Thu, 28 Feb 2019 07:39:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 515A38491F for ; Thu, 28 Feb 2019 07:39:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9241214CA1 for ; Thu, 28 Feb 2019 07:39:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1S7dlHH060595 for ; Thu, 28 Feb 2019 07:39:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1S7dlYI060592 for net@FreeBSD.org; Thu, 28 Feb 2019 07:39:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 233955] net/wireguard Occassional hard reboot of FreeBSD 11.2-RELEASE-p6 when used together with setfib(1) Date: Thu, 28 Feb 2019 07:39:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 07:39:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233955 --- Comment #10 from Marek Zarychta --- (In reply to Marek Zarychta from comment #9) 13-CURRENT not STABLE of course --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 08:00:54 2019 Return-Path: Delivered-To: freebsd-net@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 DC77E15208D7 for ; Thu, 28 Feb 2019 08:00:53 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (mx-int.allbsd.org [IPv6:2001:2f0:104:e002::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.allbsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E88B85691; Thu, 28 Feb 2019 08:00:53 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2452109-ipngn10801funabasi.chiba.ocn.ne.jp [180.13.106.109]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id x1S80PuH075121 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) (Client CN "/CN=mail.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=Let's+20Encrypt+20Authority+20X3"); Thu, 28 Feb 2019 17:00:36 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.d.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id x1S80P6d025320 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 28 Feb 2019 17:00:25 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.15.2/8.15.2) with ESMTPA id x1S8078d025317; Thu, 28 Feb 2019 17:00:08 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Thu, 28 Feb 2019 16:47:21 +0900 (JST) Message-Id: <20190228.164721.696461235015072338.hrs@allbsd.org> To: rgrimes@FreeBSD.org, freebsd@pdx.rh.CN85.dnsmgr.net Cc: bz@FreeBSD.org, freebsd-net@FreeBSD.org, rmacklem@uoguelph.ca Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources From: Hiroki Sato In-Reply-To: <201902280158.x1S1wi7s053904@pdx.rh.CN85.dnsmgr.net> References: <8EDE90B3-0C33-47B5-88D8-964B131AEE2E@FreeBSD.org> <201902280158.x1S1wi7s053904@pdx.rh.CN85.dnsmgr.net> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.8 on Emacs 25.3 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Thu_Feb_28_16_47_21_2019_202)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.6.2 (mail.allbsd.org [133.31.130.41]); Thu, 28 Feb 2019 17:00:43 +0900 (JST) X-Spam-Status: No, score=-97.4 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,UNPARSEABLE_RELAY,URIBL_SC2_SURBL,URIBL_XS_SURBL, USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.allbsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 08:00:54 -0000 ----Security_Multipart(Thu_Feb_28_16_47_21_2019_202)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Rodney W. Grimes" wrote in <201902280158.x1S1wi7s053904@pdx.rh.CN85.dnsmgr.net>: fr> > fr> > I know both of these groups still do exist. fr> > fr> > Also every code not compiled in is not an attack surface, where you fr> > think it?s executed or not. fr> fr> This last reason is/was a prevelent one for me for a long time, fr> diven ipv6 is trying to autoconfigure stuff and interfaces fr> just get a link local address that is reachable that I would fr> have to secure. Its was/is a royal pita to do that for lots of fr> machines. fr> fr> Am I missing something in there is just some way to turn off the fr> link local ipv6 address? There is a way to disable automatic link-local address configuration but completely turning it off prevents NDP from working. Having a knob to restrict L3 communication over link-local addresses may be a good compromise. At this moment, a packet filter is required to do so. -- Hiroki ----Security_Multipart(Thu_Feb_28_16_47_21_2019_202)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iEYEABECAAYFAlx3kgkACgkQTyzT2CeTzy236gCgsl4rU2ULcUkV1MKS1mg3TMcy zFsAn3uGZUDvSBstYlT/kfach0RIYnOV =hL0g -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Feb_28_16_47_21_2019_202)---- From owner-freebsd-net@freebsd.org Thu Feb 28 08:45:17 2019 Return-Path: Delivered-To: freebsd-net@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 7D7621521BDE; Thu, 28 Feb 2019 08:45:17 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4632E86CCA; Thu, 28 Feb 2019 08:45:10 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x1S8iqcr082379; Thu, 28 Feb 2019 09:44:52 +0100 (CET) Received: from [217.29.44.250] ([217.29.44.250]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x1S8ip9w036578; Thu, 28 Feb 2019 09:44:51 +0100 (CET) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Performance issues with VNET/bridge/VLAN From: "Patrick M. Hausen" In-Reply-To: <79A4C471-FCDF-4C2D-BBEF-6512F3AF608F@ellael.org> Date: Thu, 28 Feb 2019 09:44:50 +0100 Cc: FreeBSD Net , freebsd-jail@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4857F070-3DBD-4CA0-8E32-D9DE1EA2C7F0@punkt.de> References: <9B0EC546-38E6-424E-9CC9-93F4C58B296F@punkt.de> <355c746ae7ec884407299e2649283cfc@ellael.org> <8ABA2B5F-6A94-4907-B623-6B7E9BC83CB3@punkt.de> <79A4C471-FCDF-4C2D-BBEF-6512F3AF608F@ellael.org> To: Michael Grimm X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 4632E86CCA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-2.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[punkt.de]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mailin.pluspunkthosting.de,mailin.pluspunkthosting.de]; NEURAL_HAM_SHORT(-0.59)[-0.587,0]; RCVD_IN_DNSWL_NONE(0.00)[131.33.29.217.list.dnswl.org : 127.0.10.0]; IP_SCORE(-0.52)[ipnet: 217.29.32.0/20(-1.43), asn: 16188(-1.15), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 08:45:17 -0000 Hi, just a quick info - I need some more time because this is getting = weirder and weirder =E2=80=A6 Changing the =E2=80=9Ecomplaint=E2=80=9C host from VLANs to dedicated = interfaces fixed the perceived TCP performance issue for that host. Then I tried to = reproduce the problem on another host *with* the VLAN based setup. Same OS version, identical setup (all Ansible here) - *no* performance = issue. Everything running =E2=80=9Efast=E2=80=9C. I=E2=80=99ll try to build a reliable test scenario with reproducibly = problematic results and report back. Kind regards Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling From owner-freebsd-net@freebsd.org Thu Feb 28 09:17:03 2019 Return-Path: Delivered-To: freebsd-net@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 9F695152379B for ; Thu, 28 Feb 2019 09:17:03 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (mx-int.allbsd.org [IPv6:2001:2f0:104:e002::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.allbsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4EFC88786 for ; Thu, 28 Feb 2019 09:17:02 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2452109-ipngn10801funabasi.chiba.ocn.ne.jp [180.13.106.109]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id x1S9GYtq077433 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) (Client CN "/CN=mail.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=Let's+20Encrypt+20Authority+20X3"); Thu, 28 Feb 2019 18:16:47 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.d.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id x1S9GYYI026769 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 28 Feb 2019 18:16:34 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.15.2/8.15.2) with ESMTPA id x1S9GGGq026766; Thu, 28 Feb 2019 18:16:18 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Thu, 28 Feb 2019 18:15:39 +0900 (JST) Message-Id: <20190228.181539.867694221978174531.hrs@allbsd.org> To: rmacklem@uoguelph.ca Cc: freebsd-net@freebsd.org Subject: Re: correct IP# for NFS kernel upcall to userland daemon From: Hiroki Sato In-Reply-To: References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.8 on Emacs 25.3 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Thu_Feb_28_18_15_39_2019_501)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.6.2 (mail.allbsd.org [133.31.130.41]); Thu, 28 Feb 2019 18:16:52 +0900 (JST) X-Spam-Status: No, score=-97.4 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,UNPARSEABLE_RELAY,URIBL_SC2_SURBL,URIBL_XS_SURBL, USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.allbsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 09:17:03 -0000 ----Security_Multipart(Thu_Feb_28_18_15_39_2019_501)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Rick Macklem wrote in : rm> In this case, I am concerned that the daemon will not be able to start up under rm> conditions where the DNS service isn't yet functional. (This problem can mostly rm> be avoided by specifying "localhost" in /etc/hosts and configuring the system to rm> use that file before DNS, but I still don't like having this dependency on DNS for rm> the daemon starting up.) rm> Note that the upcall will work for any IP# that refers to the local machine and it rm> does not need to be the one specified for "localhost" in the DNS. rm> rm> So, do you think I should do a lookup for "localhost" at daemon startup or use rm> a hardwired "127.0.0.1/::1"? I do not think using INADDR_LOOPBACK or IN6ADDR_LOOPBACK_INIT is harmful for this purpose. A properly configured lo0 should be a reasonable assumption. However, I still think using a loopback address in AF_INET or AF_INET6 for local communication is not a good idea when AF_LOCAL works. A properly configured file system is easier than lo0 in many cases. An unnamed pair of connected sockets which can be created by socketpair(2) would be ideal for this purpose, but IIRC there is no handy way to send one across kernel and userland... -- Hiroki ----Security_Multipart(Thu_Feb_28_18_15_39_2019_501)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iEYEABECAAYFAlx3prsACgkQTyzT2CeTzy3/TQCdHxGWCJDzdx3K0BoUzGM71i4C 4ykAn1GpO3CJTBAYdA1ZA9E45y2Caafk =Tqxt -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Feb_28_18_15_39_2019_501)---- From owner-freebsd-net@freebsd.org Thu Feb 28 11:18:15 2019 Return-Path: Delivered-To: freebsd-net@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 5A1181502F1E for ; Thu, 28 Feb 2019 11:18:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E2B8A8D043 for ; Thu, 28 Feb 2019 11:18:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9C7921502F1D; Thu, 28 Feb 2019 11:18:14 +0000 (UTC) Delivered-To: net@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 887501502F1C for ; Thu, 28 Feb 2019 11:18:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 202A98D040 for ; Thu, 28 Feb 2019 11:18:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3C57616CB6 for ; Thu, 28 Feb 2019 11:18:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SBIDYb041995 for ; Thu, 28 Feb 2019 11:18:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SBIDWW041994 for net@FreeBSD.org; Thu, 28 Feb 2019 11:18:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236067] [em] Intel 82574L can not turn off flow control Date: Thu, 28 Feb 2019 11:18:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 11:18:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236067 --- Comment #3 from Lev A. Serebryakov --- (In reply to Eric Joyner from comment #2) Both sides are r344277, drivers are compiled in kernel (not loaded as modul= es). And I didn't tried "i210 -> 82574L" yet, I could try this combination around Monday. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 15:11:06 2019 Return-Path: Delivered-To: freebsd-net@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 A999B150AF64 for ; Thu, 28 Feb 2019 15:11:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 416946F11C for ; Thu, 28 Feb 2019 15:11:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 05656150AF63; Thu, 28 Feb 2019 15:11:06 +0000 (UTC) Delivered-To: net@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 E8161150AF62 for ; Thu, 28 Feb 2019 15:11:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8819D6F114 for ; Thu, 28 Feb 2019 15:11:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B6FF318E57 for ; Thu, 28 Feb 2019 15:11:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SFB4Ro052258 for ; Thu, 28 Feb 2019 15:11:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SFB4cJ052250 for net@FreeBSD.org; Thu, 28 Feb 2019 15:11:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Thu, 28 Feb 2019 15:11:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: genneko217@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 15:11:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 --- Comment #8 from genneko217@gmail.com --- (In reply to Kristof Provost from comment #7) The updated patch fixed the issue. I think it's also a good example of virtualizing an interface. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 15:13:23 2019 Return-Path: Delivered-To: freebsd-net@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 25139150B0E4 for ; Thu, 28 Feb 2019 15:13:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B19EC6F4E5 for ; Thu, 28 Feb 2019 15:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 68381150B0E1; Thu, 28 Feb 2019 15:13:22 +0000 (UTC) Delivered-To: net@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 5426E150B0DE for ; Thu, 28 Feb 2019 15:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEE096F4E0 for ; Thu, 28 Feb 2019 15:13:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2862118FA7 for ; Thu, 28 Feb 2019 15:13:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SFDLM3033692 for ; Thu, 28 Feb 2019 15:13:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SFDLDW033683 for net@FreeBSD.org; Thu, 28 Feb 2019 15:13:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 15:13:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 15:13:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 15:14:15 2019 Return-Path: Delivered-To: freebsd-net@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 1D30D150B17E for ; Thu, 28 Feb 2019 15:14:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ABF776F5CC for ; Thu, 28 Feb 2019 15:14:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6F27A150B17B; Thu, 28 Feb 2019 15:14:14 +0000 (UTC) Delivered-To: net@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 5B298150B17A for ; Thu, 28 Feb 2019 15:14:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4EA76F5CA for ; Thu, 28 Feb 2019 15:14:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1246518FAD for ; Thu, 28 Feb 2019 15:14:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SFECFo061177 for ; Thu, 28 Feb 2019 15:14:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SFECnf061169 for net@FreeBSD.org; Thu, 28 Feb 2019 15:14:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236105] carp MASTER/MASTER status when adding or removing carp IP addresses Date: Thu, 28 Feb 2019 15:14:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 15:14:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236105 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 15:27:52 2019 Return-Path: Delivered-To: freebsd-net@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 CE250150B8C1 for ; Thu, 28 Feb 2019 15:27:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 438006FFDC for ; Thu, 28 Feb 2019 15:27:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 03D13150B8BE; Thu, 28 Feb 2019 15:27:51 +0000 (UTC) Delivered-To: net@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 D3E40150B8BC for ; Thu, 28 Feb 2019 15:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E5346FFD8 for ; Thu, 28 Feb 2019 15:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B0BC219121 for ; Thu, 28 Feb 2019 15:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SFRnBE075147 for ; Thu, 28 Feb 2019 15:27:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SFRnsJ075145 for net@FreeBSD.org; Thu, 28 Feb 2019 15:27:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Thu, 28 Feb 2019 15:27:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: genneko217@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 15:27:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 --- Comment #9 from genneko217@gmail.com --- Sorry to bother you again and again, but let me ask one more thing. Because some interface types (tap, vxlan etc.) still don't have virtualized cloners, I think similar problems could occur to them. (I know this is truly a corner case, though.)=20 if_clone_destroy() in sys/net/if_clone.c has the following code to find the cloner for an interface to destroy. What I was wondering is why the line 263-267 (the first loop) and the line 271-278 (the second loop) use different code. Can't they be the same? (My original patch came from this question.) 261 /* Find the cloner for this interface */ 262 IF_CLONERS_LOCK(); 263 LIST_FOREACH(ifc, &V_if_cloners, ifc_list) { -> 264 if (strcmp(ifc->ifc_name, ifp->if_dname) =3D=3D 0) { 265 break; 266 } 267 } 268 #ifdef VIMAGE 269 if (ifc =3D=3D NULL && !IS_DEFAULT_VNET(curvnet)) { 270 CURVNET_SET_QUIET(vnet0); 271 LIST_FOREACH(ifc, &V_if_cloners, ifc_list) 272 if (ifc->ifc_type =3D=3D SIMPLE) { -> 273 if (ifc_simple_match(ifc, name)) 274 break; 275 } else { -> 276 if (ifc->ifc_match(ifc, name)) 277 break; 278 } 279 CURVNET_RESTORE(); 280 } 281 #endif --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 15:39:56 2019 Return-Path: Delivered-To: freebsd-net@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 213CD150BF76 for ; Thu, 28 Feb 2019 15:39:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9045970A78 for ; Thu, 28 Feb 2019 15:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4F5DF150BF73; Thu, 28 Feb 2019 15:39:55 +0000 (UTC) Delivered-To: net@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 3B56B150BF72 for ; Thu, 28 Feb 2019 15:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C458870A6D for ; Thu, 28 Feb 2019 15:39:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EA834192BA for ; Thu, 28 Feb 2019 15:39:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SFdrrm097414 for ; Thu, 28 Feb 2019 15:39:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SFdrjw097413 for net@FreeBSD.org; Thu, 28 Feb 2019 15:39:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 221317] ifconfig down/up issue after ixgbe driver update in r320897 Date: Thu, 28 Feb 2019 15:39:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: timo.voelker@fh-muenster.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: piotr.pietruszewski@intel.com X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 15:39:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 Timo Voelker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timo.voelker@fh-muenster.de --- Comment #45 from Timo Voelker --- I experienced this issue while configuring VLANs. I installed FreeBSD 12.0 Release on a Dell PowerEdge R430 with an Intel Ethernet 10G 2P X520 Adapter. If I add these lines to /etc/rc.conf ifconfig_ix0=3D"up" vlans_ix0=3D"102" ifconfig_ix0_102=3D"inet 10.10.10.12/24 description test" ix0 stays down. A 'ifconfig ix0 up' has no effect then. If I start FreeBSD = with only ifconfig_ix0=3D"up" in /etc/rc.conf, I can use the following commands to successfully add and u= se the vlan (ix0 is up). ifconfig ix0 up ifconfig ix0.102 create vlan 102 vlandev ix0 inet 10.10.10.12/24 An update to 12.0-p3 with the commands # freebsd-update fetch # freebsd-update install did not fix it. I then downloaded the FreeBSD sources (base/releng/12.0), applied the patch=20 https://reviews.freebsd.org/D18468 and complied and installed kernel and world. Now, I'm able to boot FreeBSD = with the above VLAN config in /etc/rc.conf.=20 Thanks to everyone involved here! --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 15:47:02 2019 Return-Path: Delivered-To: freebsd-net@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 4911C150C4E5 for ; Thu, 28 Feb 2019 15:47:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D3A9D7115D for ; Thu, 28 Feb 2019 15:47:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8D618150C4DC; Thu, 28 Feb 2019 15:47:01 +0000 (UTC) Delivered-To: net@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 7A82A150C4DB for ; Thu, 28 Feb 2019 15:47:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1379171157 for ; Thu, 28 Feb 2019 15:47:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3FFDD19427 for ; Thu, 28 Feb 2019 15:47:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SFl0G0013212 for ; Thu, 28 Feb 2019 15:47:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SFl0x8013211 for net@FreeBSD.org; Thu, 28 Feb 2019 15:47:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 15:47:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 15:47:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #1 from Alexey --- FreeBSD nas1 12.0-STABLE FreeBSD 12.0-STABLE r344575 NAS amd64 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 15:55:37 2019 Return-Path: Delivered-To: freebsd-net@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 213DA150CD56 for ; Thu, 28 Feb 2019 15:55:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AB71C71861 for ; Thu, 28 Feb 2019 15:55:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 61855150CD55; Thu, 28 Feb 2019 15:55:36 +0000 (UTC) Delivered-To: net@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 4EE36150CD54 for ; Thu, 28 Feb 2019 15:55:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC8C97185E for ; Thu, 28 Feb 2019 15:55:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2B16D1959A for ; Thu, 28 Feb 2019 15:55:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SFtZkL033103 for ; Thu, 28 Feb 2019 15:55:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SFtZc5033101 for net@FreeBSD.org; Thu, 28 Feb 2019 15:55:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 15:55:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 15:55:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org --- Comment #2 from Eugene Grosbein --- Does it help if you do "ifconfig ix0 -vlanhwtag -vlanhwfilter" before creat= ing vlan? Some NICs chips re-establish link when host reprogramms their in-chip vlan mask. If you disable hardware-assisted vlan filtering to perform it at OS driver level, you shoud stop reprogramming chip while creating/destroying vlans. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 16:01:51 2019 Return-Path: Delivered-To: freebsd-net@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 B1622150D053 for ; Thu, 28 Feb 2019 16:01:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4A33071C64 for ; Thu, 28 Feb 2019 16:01:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0DACA150D052; Thu, 28 Feb 2019 16:01:51 +0000 (UTC) Delivered-To: net@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 EEFCA150D051 for ; Thu, 28 Feb 2019 16:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 867AE71C60 for ; Thu, 28 Feb 2019 16:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B26AD196EE for ; Thu, 28 Feb 2019 16:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SG1nbw069628 for ; Thu, 28 Feb 2019 16:01:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SG1n8A069624 for net@FreeBSD.org; Thu, 28 Feb 2019 16:01:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 16:01:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 16:01:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #3 from Alexey --- Yes it helped. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 16:06:19 2019 Return-Path: Delivered-To: freebsd-net@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 061F7150D1A7 for ; Thu, 28 Feb 2019 16:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 86D6571E25 for ; Thu, 28 Feb 2019 16:06:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 42C1E150D1A6; Thu, 28 Feb 2019 16:06:18 +0000 (UTC) Delivered-To: net@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 312DE150D1A4 for ; Thu, 28 Feb 2019 16:06:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFCC371E21 for ; Thu, 28 Feb 2019 16:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EB19A19715 for ; Thu, 28 Feb 2019 16:06:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SG6GjZ088371 for ; Thu, 28 Feb 2019 16:06:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SG6GIi088370 for net@FreeBSD.org; Thu, 28 Feb 2019 16:06:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 16:06:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 16:06:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #4 from Alexey --- Just a month ago, this did not happen. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 16:35:11 2019 Return-Path: Delivered-To: freebsd-net@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 9F384150DC3E for ; Thu, 28 Feb 2019 16:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 32FF272E2F for ; Thu, 28 Feb 2019 16:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E75F0150DC3C; Thu, 28 Feb 2019 16:35:10 +0000 (UTC) Delivered-To: net@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 D4E79150DC3B for ; Thu, 28 Feb 2019 16:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C9EB72E2E for ; Thu, 28 Feb 2019 16:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9C4FD19B82 for ; Thu, 28 Feb 2019 16:35:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SGZ9IC047364 for ; Thu, 28 Feb 2019 16:35:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SGZ9vf047361 for net@FreeBSD.org; Thu, 28 Feb 2019 16:35:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 16:35:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 16:35:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Keywords| |IntelNetworking, regression --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 16:37:49 2019 Return-Path: Delivered-To: freebsd-net@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 3BD90150DCEF for ; Thu, 28 Feb 2019 16:37:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BFD3372F38 for ; Thu, 28 Feb 2019 16:37:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7628E150DCEE; Thu, 28 Feb 2019 16:37:48 +0000 (UTC) Delivered-To: net@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 64CAA150DCED for ; Thu, 28 Feb 2019 16:37:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0209C72F34 for ; Thu, 28 Feb 2019 16:37:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 34E8B19B89 for ; Thu, 28 Feb 2019 16:37:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SGblxd049887 for ; Thu, 28 Feb 2019 16:37:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SGblUc049886 for net@FreeBSD.org; Thu, 28 Feb 2019 16:37:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 16:37:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 16:37:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #5 from Eugene Grosbein --- (In reply to Alexey from comment #4) What revision do you run as per "uname -a" ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 16:38:56 2019 Return-Path: Delivered-To: freebsd-net@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 304F0150DD47 for ; Thu, 28 Feb 2019 16:38:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B116772FDB for ; Thu, 28 Feb 2019 16:38:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 71693150DD46; Thu, 28 Feb 2019 16:38:55 +0000 (UTC) Delivered-To: net@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 5F08D150DD44 for ; Thu, 28 Feb 2019 16:38:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F063572FDA for ; Thu, 28 Feb 2019 16:38:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3E62219B91 for ; Thu, 28 Feb 2019 16:38:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SGcstV050995 for ; Thu, 28 Feb 2019 16:38:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SGcsu1050994 for net@FreeBSD.org; Thu, 28 Feb 2019 16:38:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Thu, 28 Feb 2019 16:38:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 16:38:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #6 from Eugene Grosbein --- Sorry, missed that you already mentioned r344575. Can you add revision you = used "month ago" that had not this problem? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 28 17:49:38 2019 Return-Path: Delivered-To: freebsd-net@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 9C0D01510AE0 for ; Thu, 28 Feb 2019 17:49:38 +0000 (UTC) (envelope-from elizabeth@eventdatamine.com) Received: from NEW-02-4.privateemail.com (new-02-4.privateemail.com [198.54.122.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "privateemail.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FB7176A12 for ; Thu, 28 Feb 2019 17:49:37 +0000 (UTC) (envelope-from elizabeth@eventdatamine.com) Received: from NEW-02-2.privateemail.com (unknown [10.20.150.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by NEW-02-4.privateemail.com (Postfix) with ESMTPS id EC8CB8042E for ; Thu, 28 Feb 2019 17:49:29 +0000 (UTC) Received: from MTA-09.privateemail.com (unknown [10.20.147.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by NEW-02.privateemail.com (Postfix) with ESMTPS id E62426136B for ; Thu, 28 Feb 2019 17:49:29 +0000 (UTC) Received: from MTA-09.privateemail.com (localhost [127.0.0.1]) by MTA-09.privateemail.com (Postfix) with ESMTP id C3E6A60076 for ; Thu, 28 Feb 2019 12:49:29 -0500 (EST) Received: from DESKTOP9H8BFK9 (unknown [10.20.151.212]) by MTA-09.privateemail.com (Postfix) with ESMTPA id 0C30B60072 for ; Thu, 28 Feb 2019 17:49:28 +0000 (UTC) From: "Elizabeth Knight" To: References: In-Reply-To: Subject: RE: IDEA 2019-Attendee Portal Date: Thu, 28 Feb 2019 12:49:09 -0500 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdTOFk8pvke0L38YRkODxfxZAENyAQBd5DdA Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 6FB7176A12 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of elizabeth@eventdatamine.com designates 198.54.122.48 as permitted sender) smtp.mailfrom=elizabeth@eventdatamine.com X-Spamd-Result: default: False [-3.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.98)[-0.976,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.54.122.32/27]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mx2.privateemail.com,mx1.privateemail.com]; NEURAL_HAM_SHORT(-0.87)[-0.871,0]; DMARC_NA(0.00)[eventdatamine.com]; IP_SCORE(-0.04)[ipnet: 198.54.122.0/24(-0.20), asn: 22612(0.06), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:22612, ipnet:198.54.122.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 17:49:38 -0000 Hi, I haven't heard you from a while. Hence floating this to the top of your inbox to understand, if you did get a chance to review my earlier mail. Kindly let me know your interest so that I can get back to you with counts and pricing available. Best Regards, Elizabeth Knight From: Elizabeth Knight [mailto:elizabeth@eventdatamine.com] Sent: Tuesday, February 26, 2019 4:01 PM To: 'freebsd-net@freebsd.org' Subject: IDEA 2019-Attendee Portal Dear Exhibitor, Would you be interested in obtaining the IDEA 2019 Attendees List? IDEA 2019 Attendees list is available now, with All contacts are permission pass and provided with complete contact information including direct business email address on an excel spread-sheet. Attendees: . Senior Leadership ( CEO, President, Owner, VP, etc ) . Research & Development ( Technical, Engineer, etc ) . Sales & Marketing . Purchasing . Office Management . Accounts, Finance, Human Resources Information fields include: First Name, Last Name, Title, Company, Contact Number, Website, Mailing address and contact person verified business email address etc. Kindly let me know your interest so that I can get back to you with Counts and Pricing for attendees list. Thank you and I Look forward to hearing from you. Regards, Elizabeth Knight IDEA 2019 Attendees Specialist Note: If you do not wish to receive further E-mails please reply us with opt out in subject line From owner-freebsd-net@freebsd.org Thu Feb 28 21:57:49 2019 Return-Path: Delivered-To: freebsd-net@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 5C7DB151B132 for ; Thu, 28 Feb 2019 21:57:49 +0000 (UTC) (envelope-from mathew.alen@worldfirstleads.com) Received: from kpfm-lthy.accessdomain.com (worldfirstleads.com [216.70.96.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC51D8BA41 for ; Thu, 28 Feb 2019 21:57:38 +0000 (UTC) (envelope-from mathew.alen@worldfirstleads.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=worldfirstleads.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date :Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oLGK1NG/+oJy/RrRIvfHrvWDe/zpo/fOre03bh0bk5I=; b=SbvfWCEAhHQKqH6VGiDBiGs+Zi R+i3VnQQQlXPnWmp0JuJGGEMFYCJ3c3gRaXL/mJm5BAPpEVNzfhpOBGWwvdZie9Ka42ND91EmMQJ+ upmLAgPxhJjib1ClT9wrbzzhhfsq61k3Lp0ti1lsSri1VdGHrM9/9zAUVHiNj+SMpXmsoWCVdLgxC 9WmZNigPRwC/ho19YhC79jmGm5pc8e8gPbJL0EDLQ5pMhAnpujUuSeRuR5GfOv5hBbKcZE7LQ4iCF mboEGm53LudOZpMa6sbs6Sn1wt0MnYDOcaMMBpqUf6w9QDBbHtoqPTKcMwWeTnUWXKspZ5dhf60xx ABRnd1Ow==; Received: from [122.167.192.245] (port=60894 helo=AdminPC) by kpfm-lthy.accessdomain.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.91) (envelope-from ) id 1gzTgC-0000uG-Lh for freebsd-net@freebsd.org; Thu, 28 Feb 2019 16:57:25 -0500 From: "Mathew Alen" To: Subject: Global Pet Expo APPMA 2019 Date: Thu, 28 Feb 2019 16:53:53 -0500 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdTPr3STVAIgpqGxRR2Cs4LTCxFotw== Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - kpfm-lthy.accessdomain.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - worldfirstleads.com X-Get-Message-Sender-Via: kpfm-lthy.accessdomain.com: authenticated_id: mathew.alen@worldfirstleads.com X-Authenticated-Sender: kpfm-lthy.accessdomain.com: mathew.alen@worldfirstleads.com X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: BC51D8BA41 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=worldfirstleads.com header.s=default header.b=SbvfWCEA X-Spamd-Result: default: False [4.15 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MX_INVALID(0.50)[greylisted]; HAS_X_SOURCE(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[worldfirstleads.com:~]; HAS_X_ANTIABUSE(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[245.192.167.122.zen.spamhaus.org : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:31815, ipnet:216.70.96.0/20, country:US]; IP_SCORE(0.42)[asn: 31815(2.17), country: US(-0.07)]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[mathew.alen@worldfirstleads.com]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.981,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[worldfirstleads.com]; NEURAL_SPAM_MEDIUM(0.90)[0.902,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(0.95)[0.951,0]; HAS_X_GMSV(0.00)[mathew.alen@worldfirstleads.com]; R_DKIM_PERMFAIL(0.00)[worldfirstleads.com:s=default]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Feb 2019 21:57:49 -0000 Hello, Would be interested in the "Attendees list of Global Pet Expo APPMA 2019?". Let me know your interest to send you the number of Contacts and cost. Awaiting for your reply. Regards, Mathew Alen, Marketing Executive. If you do not wish to receive future emails from us, reply as 'leave out' From owner-freebsd-net@freebsd.org Fri Mar 1 02:57:15 2019 Return-Path: Delivered-To: freebsd-net@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 581C215008B3 for ; Fri, 1 Mar 2019 02:57:15 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670050.outbound.protection.outlook.com [40.107.67.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88C86701D5; Fri, 1 Mar 2019 02:57:13 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM (52.132.89.15) by QB1PR01MB3091.CANPRD01.PROD.OUTLOOK.COM (52.132.88.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.16; Fri, 1 Mar 2019 02:57:11 +0000 Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c]) by QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c%6]) with mapi id 15.20.1643.022; Fri, 1 Mar 2019 02:57:11 +0000 From: Rick Macklem To: "Bjoern A. Zeeb" CC: FreeBSD Net , "rgrimes@freebsd.org" Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Topic: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Index: AQHUzwGwHmKnVmR//0yzd/zC2ycfBaX0bvqAgAGlN+0= Date: Fri, 1 Mar 2019 02:57:11 +0000 Message-ID: References: , <8EDE90B3-0C33-47B5-88D8-964B131AEE2E@FreeBSD.org> In-Reply-To: <8EDE90B3-0C33-47B5-88D8-964B131AEE2E@FreeBSD.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6f273af4-b8b0-45ae-5180-08d69df199f6 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:QB1PR01MB3091; x-ms-traffictypediagnostic: QB1PR01MB3091: x-microsoft-exchange-diagnostics: =?Windows-1252?Q?1; QB1PR01MB3091; 23:eOZYGKOlT6Xu4IG6bjpHWQ4euwjEEXvTq9B/c?= =?Windows-1252?Q?zeGxEFC+1A32FpePKbSVjiFXdzWnoy4mINe8kTIB7BObtQd1yD+xa5H8?= =?Windows-1252?Q?oj61iB1WAd4milp5WAQz9vGJ+7/53OnJHkbadEZxcvJDRih0LdqubD+4?= =?Windows-1252?Q?yiUlRbUy0nv0symjW8HEZ4IpikMovI97KkPgbRxgXZOCe/2RO6M4uoH8?= =?Windows-1252?Q?tOm+zp/ZY4TclciWZwhNVVhFm7o9EAaVL2dlpxT0cZ06HiX0dcheG7gk?= =?Windows-1252?Q?kHnFk8ECxIj5yHZnjt/5m22H6gjHW3Qfg2ZrXPc9Xr+8PUQ0oZq8HLyY?= =?Windows-1252?Q?MuVgWT9CRddYfqAxNYGOGTWOp3+DfL/HWIcmnMC5o7v5KQFysoksMISM?= =?Windows-1252?Q?DK0287fb32a4Q/jZazmEp4cNLZwjLo6SXsO3I9xbRMauXGAi8HZOk3m2?= =?Windows-1252?Q?ONLeuQ+QnrZ2v19jPsMu3/PmM3+zZLu026DNAOAwszrFETSR9MNkG6K4?= =?Windows-1252?Q?1fU/LxNBZqKqITxkrgNWb4DiJtqGGPfI6UqYAi0eIrMWSR/lXPt37oFj?= =?Windows-1252?Q?aKfIWjW1EAFa4Ve4HiZW3dFieyTg5XPFlXwJ8bQLG+M5RJQYy+bE5yMe?= =?Windows-1252?Q?azQSqt7xrWvWOqQ2vk/mMB5qEGfG7QPaR0CJAhJxyrzwIPgJgQeGGWZ2?= =?Windows-1252?Q?KofEryFDvn3Asilbly46sVTNE04VEmPtgner79fHPSxRe866PrcdH6+R?= =?Windows-1252?Q?/L9FV6NDLMD5EGwq3Ml6M0SBSKeA/mRoELO8niQqcGlGS/8HclpR8GK1?= =?Windows-1252?Q?Jw8lj1j+3+A+pKJpxDcaJG1g7gRSof6bw9aUTAfBrfQZHKRcur3rwkRw?= =?Windows-1252?Q?yoekTAv1F7GMXS44KQGMxo9UMqZo09j6F/v0DqXJXnTRhufgNjUsMZOG?= =?Windows-1252?Q?WgCBoXa3aTMDgHKFB0hA1I2NClU9ZGHgxbshSbzYuH9MRhvMkKLvem1w?= =?Windows-1252?Q?b823IxMj3/yC2LT10RILNtSW5SOrlA2mVlxyUxKC3X4cWdD95ULKYubj?= =?Windows-1252?Q?0QTozepMO0Ygzw6Bzj7kp05tniKV/G9Kh5mVtNQ7PlnveH8/dc6/fMn4?= =?Windows-1252?Q?87YdKag2CP37j5Sdy6I50LbmmcwQh90M9fg/XjbctXRS5luL19spMqWB?= =?Windows-1252?Q?azRt2n6zsfX6ScI9JegrvUKwsqrKzMKZQvW8lPJO6+nbKLW44634NOa0?= =?Windows-1252?Q?J1yfvYHGqzC3rUQJ2w2dj5lm74pdJiHyTxuq0E=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09634B1196 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(346002)(396003)(366004)(189003)(199004)(74316002)(81166006)(2906002)(316002)(786003)(54906003)(81156014)(6246003)(450100002)(4326008)(25786009)(8936002)(8676002)(74482002)(305945005)(6916009)(5660300002)(486006)(71190400001)(71200400001)(68736007)(256004)(99286004)(476003)(9686003)(55016002)(86362001)(33656002)(11346002)(106356001)(6436002)(7696005)(76176011)(229853002)(446003)(105586002)(102836004)(6506007)(97736004)(14454004)(478600001)(53936002)(186003)(46003); DIR:OUT; SFP:1101; SCL:1; SRVR:QB1PR01MB3091; H:QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 7ckjeCUxzrVpISTOhH1QOGidAqAiqw0ZV6W6SrboicYm+mfm+s7D0icAgK+x4/rGqtawftI3xVm39J74+qVMTzad3IS8RIDg21dT3W8IwKjV6axNyp0s9wcgx0ar2DiLJGXJJ06xjOTUAAWbj3CCu1jS16WTdIeaZtrl+w+QIEusYJbGawgo90QcfslI2MHRo+ThGqUXmHOLVDDNCBJizayQdp9URMaTbbQI3FpDat4sDS7yO0DNAgiolwkVsIDHtG3WyUJP4IoTuQjbkd5/shj7NBQuGan6VwVJOU6S9VmW76U9PWhI2O5jJ1X3ZCqP8Q4MKW+lsQSj1WoQBsC5gem8j3+UoRBx63qQTF/e359cwqaaqQXCqxBv0Ye2Ck0S6DcwK0cjYsAh/jfKZp4qMdow1b00ElgVdj8TdZ7EUdQ= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 6f273af4-b8b0-45ae-5180-08d69df199f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2019 02:57:11.4909 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB3091 X-Rspamd-Queue-Id: 88C86701D5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.67.50 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-3.63 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[uoguelph.ca]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.90)[ipnet: 40.64.0.0/10(-2.22), asn: 8075(-2.21), country: US(-0.07)]; MX_GOOD(-0.01)[mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com,mx2.hc184-76.ca.iphmx.com,mx1.hc184-76.ca.iphmx.com]; NEURAL_HAM_SHORT(-0.42)[-0.420,0]; RCVD_IN_DNSWL_NONE(0.00)[50.67.107.40.list.dnswl.org : 127.0.3.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 02:57:15 -0000 Bjoern A. Zeeb wrote: [stuff snipped] I wrote: >> So, is this still recommended for blocks of code that only execute for >> the version >> of IP, but will build for kernels that do not have the particular >> "options INET{6}" >> in the kernel config? > >Yes. Ok, I'll do it. >> If it is still recommended, I will do it, but I'll admit I don't >> understand why it should >> be done? (All it does is reduce the size of the executable by a small >> amount and >> that doesn't seem significant to me.) > >That small amount is still relevant on some devices where people go to >great lengths to fit our constantly growing base into a tiny small >thingy. I doubt NFS gets squeezed into such devices and, yes, it is a small amount. Using source line counts via "wc" (ir includes comments, etc): - This will reduce the # of lines by about 6 for a module of about 7700 li= nes which is loaded when either the nfscl or nfsserver modules are loaded. (These are both about 25000 lines and require the krpc, which is another= 10000. I haven't included the Kerberos stuff, because I can't remember if tha= t gets loaded unless Kerberos mounts get used.) --> A savings of 6 lines in something like 43000. >And it allows you to lose code from your kernel that you don=92t >need/want, such as if you=92d want to rip out all INET sources from a >tree. Ok, I can buy into this argument. I doubt I'll see IPv4 removed in my lifet= ime, but it does document where the code is. (In Canada, network providers only give out IPv4 addresses to end users, fr= om what I've seen.) >I know both of these groups still do exist. > >Also every code not compiled in is not an attack surface, where you >think it=92s executed or not. rick From owner-freebsd-net@freebsd.org Fri Mar 1 08:48:44 2019 Return-Path: Delivered-To: freebsd-net@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 A1077151B17C for ; Fri, 1 Mar 2019 08:48:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 38FA76AA9F for ; Fri, 1 Mar 2019 08:48:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EC3A4151B177; Fri, 1 Mar 2019 08:48:43 +0000 (UTC) Delivered-To: net@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 D8042151B176 for ; Fri, 1 Mar 2019 08:48:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FA676AA9A for ; Fri, 1 Mar 2019 08:48:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id ADBE72990 for ; Fri, 1 Mar 2019 08:48:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x218mgrL062196 for ; Fri, 1 Mar 2019 08:48:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x218mgcN062195 for net@FreeBSD.org; Fri, 1 Mar 2019 08:48:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Fri, 01 Mar 2019 08:48:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 08:48:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #7 from Alexey --- I have retest on: FreeBSD nas1 12.0-STABLE FreeBSD 12.0-STABLE r343868 NAS amd64 and this behavior is also present on this revision. This is a other server, with the same hardware configuration. There is no s= uch problem on it. FreeBSD nas2 12.0-STABLE FreeBSD 12.0-STABLE r341831 NAS amd64 ix1: flags=3D8843 metric 0 mtu 1500 description: -=3DINTERFACE-TO-CORE2-SWITCH=3D- =20=20=20=20=20=20=20 options=3De000bb ether 00:e0:ed:2e:14:e1 media: Ethernet autoselect (10Gbase-Twinax ) status: active nd6 options=3D29 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Mar 1 10:08:44 2019 Return-Path: Delivered-To: freebsd-net@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 14C4815073BF for ; Fri, 1 Mar 2019 10:08:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A335D6DF68 for ; Fri, 1 Mar 2019 10:08:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 625F815073BD; Fri, 1 Mar 2019 10:08:43 +0000 (UTC) Delivered-To: net@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 4FBC215073BC for ; Fri, 1 Mar 2019 10:08:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE20B6DF64 for ; Fri, 1 Mar 2019 10:08:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 28F983709 for ; Fri, 1 Mar 2019 10:08:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x21A8gbW091324 for ; Fri, 1 Mar 2019 10:08:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x21A8gER091323 for net@FreeBSD.org; Fri, 1 Mar 2019 10:08:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Fri, 01 Mar 2019 10:08:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 10:08:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #9 from Eugene Grosbein --- if_vlan(4) driver has changed in stable/12 between revisions 341831 and 343= 868, so CC'ing markj@ who changed it to give him a chance to look at this. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Mar 1 10:17:39 2019 Return-Path: Delivered-To: freebsd-net@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 1A2F3150806E for ; Fri, 1 Mar 2019 10:17:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3DA6E545 for ; Fri, 1 Mar 2019 10:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 561851508066; Fri, 1 Mar 2019 10:17:38 +0000 (UTC) Delivered-To: net@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 44A321508065 for ; Fri, 1 Mar 2019 10:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D54396E53F for ; Fri, 1 Mar 2019 10:17:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 11B793880 for ; Fri, 1 Mar 2019 10:17:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x21AHanm010223 for ; Fri, 1 Mar 2019 10:17:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x21AHaFK010222 for net@FreeBSD.org; Fri, 1 Mar 2019 10:17:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Fri, 01 Mar 2019 10:17:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 10:17:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #10 from Alexey --- ix0@pci0:2:0:0: class=3D0x020000 card=3D0x17d3103c chip=3D0x10fb8086 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection' class =3D network subclass =3D ethernet ix1@pci0:2:0:1: class=3D0x020000 card=3D0x17d3103c chip=3D0x10fb8086 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection' class =3D network subclass =3D ethernet --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Mar 1 09:55:05 2019 Return-Path: Delivered-To: freebsd-net@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 47395150611C for ; Fri, 1 Mar 2019 09:55:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B8BCF6D4DA for ; Fri, 1 Mar 2019 09:55:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 72E31150610C; Fri, 1 Mar 2019 09:55:04 +0000 (UTC) Delivered-To: net@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 61717150610B for ; Fri, 1 Mar 2019 09:55:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 222446D4D4 for ; Fri, 1 Mar 2019 09:55:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5672433E2 for ; Fri, 1 Mar 2019 09:55:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x219t3JN034788 for ; Fri, 1 Mar 2019 09:55:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x219t3ad034787 for net@FreeBSD.org; Fri, 1 Mar 2019 09:55:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Fri, 01 Mar 2019 09:55:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 09:55:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marius@FreeBSD.org --- Comment #8 from Eugene Grosbein --- It seems, the code of ixgbe(4) driver got not significant changes in stable= /12 between revisions 341831 and 343868 but iflib did. CC'ing marius@ who might have a glue. Alexey, please show part of "pciconf -lvvv" output for your ix0 device. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Mar 1 12:19:49 2019 Return-Path: Delivered-To: freebsd-net@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 BB08D15141D6 for ; Fri, 1 Mar 2019 12:19:49 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF3707546D; Fri, 1 Mar 2019 12:19:48 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x21CJk3q061224; Fri, 1 Mar 2019 04:19:46 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x21CJkIE061223; Fri, 1 Mar 2019 04:19:46 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201903011219.x21CJkIE061223@pdx.rh.CN85.dnsmgr.net> Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources In-Reply-To: To: Rick Macklem Date: Fri, 1 Mar 2019 04:19:46 -0800 (PST) CC: "Bjoern A. Zeeb" , FreeBSD Net , "rgrimes@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: BF3707546D X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.02 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.92)[0.925,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.69)[0.688,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; NEURAL_SPAM_LONG(0.51)[0.512,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.01)[ip: (0.06), ipnet: 69.59.192.0/19(0.03), asn: 13868(0.01), country: US(-0.07)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 12:19:50 -0000 > Bjoern A. Zeeb wrote: > [stuff snipped] > I wrote: > >> So, is this still recommended for blocks of code that only execute for > >> the version > >> of IP, but will build for kernels that do not have the particular > >> "options INET{6}" > >> in the kernel config? > > > >Yes. > Ok, I'll do it. Thank you > >> If it is still recommended, I will do it, but I'll admit I don't > >> understand why it should > >> be done? (All it does is reduce the size of the executable by a small > >> amount and > >> that doesn't seem significant to me.) > > > >That small amount is still relevant on some devices where people go to > >great lengths to fit our constantly growing base into a tiny small > >thingy. > I doubt NFS gets squeezed into such devices and, yes, it is a small amount. > Using source line counts via "wc" (ir includes comments, etc): > - This will reduce the # of lines by about 6 for a module of about 7700 lines > which is loaded when either the nfscl or nfsserver modules are loaded. > (These are both about 25000 lines and require the krpc, which is another 10000. > I haven't included the Kerberos stuff, because I can't remember if that gets loaded > unless Kerberos mounts get used.) > --> A savings of 6 lines in something like 43000. That means that nfsusrd is an extremly well behaved ipv4/ipv6 agnostic deamon that only takes a small change to make it able to run as either v4/v6 as a single stack or dual stacked, at a cost that also sounds minial, even if it took an #ifdef for each of these lines that is only 6 in 43000 lines of code, which is a small cost. The same analysis on other code probably comes out no place near this. Also didnt this use to use a unix domain? Could the unix domain be put back and knobbed so that I could actually run this without it doing the localnet thing at all? I know that it had issues as the socket is in /tmp and if /tmp isnt a right type file system, etc... But some of us do know that and do run with a /tmp that would support AF_UNIX type nfsusrd. If it takes 6 lines of ifdef to do v4 vs v6, how many lines of ifdef is it to add AF_UNIX back and make it run time choice? (Goes looking for more Nomex clothing :-) > >And it allows you to lose code from your kernel that you don?t > >need/want, such as if you?d want to rip out all INET sources from a > >tree. > Ok, I can buy into this argument. I doubt I'll see IPv4 removed in my lifetime, but > it does document where the code is. > (In Canada, network providers only give out IPv4 addresses to end users, from > what I've seen.) > > >I know both of these groups still do exist. > > > >Also every code not compiled in is not an attack surface, where you > >think it?s executed or not. > > rick -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-net@freebsd.org Fri Mar 1 11:01:19 2019 Return-Path: Delivered-To: freebsd-net@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 95F75150C520 for ; Fri, 1 Mar 2019 11:01:19 +0000 (UTC) (envelope-from oleg@lath.rinet.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E0F5F6FE7E for ; Fri, 1 Mar 2019 11:01:18 +0000 (UTC) (envelope-from oleg@lath.rinet.ru) Received: by mailman.ysv.freebsd.org (Postfix) id A159D150C51E; Fri, 1 Mar 2019 11:01:18 +0000 (UTC) Delivered-To: net@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 8EE5C150C51C for ; Fri, 1 Mar 2019 11:01:18 +0000 (UTC) (envelope-from oleg@lath.rinet.ru) Received: from lath.rinet.ru (lath.rinet.ru [195.54.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 28C616FE7B; Fri, 1 Mar 2019 11:01:17 +0000 (UTC) (envelope-from oleg@lath.rinet.ru) Received: by lath.rinet.ru (Postfix, from userid 222) id EA017C8B; Fri, 1 Mar 2019 14:01:09 +0300 (MSK) Date: Fri, 1 Mar 2019 14:01:09 +0300 From: Oleg Bulyzhin To: bugzilla-noreply@freebsd.org Cc: net@FreeBSD.org Subject: Re: [Bug 236102] When create or destroy vlan, the physical interface is flapping Message-ID: <20190301110109.GA4903@lath.rinet.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 28C616FE7B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.92)[-0.916,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 11:01:19 -0000 JFYI: https://lists.freebsd.org/pipermail/freebsd-net/2018-November/052184.html -- Oleg. ================================================================ === Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- oleg@rinet.ru === ================================================================ From owner-freebsd-net@freebsd.org Fri Mar 1 11:11:57 2019 Return-Path: Delivered-To: freebsd-net@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 48295150D221 for ; Fri, 1 Mar 2019 11:11:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D6C9B7023D for ; Fri, 1 Mar 2019 11:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9A5A4150D220; Fri, 1 Mar 2019 11:11:56 +0000 (UTC) Delivered-To: net@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 877AF150D21F for ; Fri, 1 Mar 2019 11:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 209D170235 for ; Fri, 1 Mar 2019 11:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 14BDD4212 for ; Fri, 1 Mar 2019 11:11:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x21BBsS1057200 for ; Fri, 1 Mar 2019 11:11:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x21BBsO3057199 for net@FreeBSD.org; Fri, 1 Mar 2019 11:11:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Fri, 01 Mar 2019 11:11:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: oleg@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 11:11:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Oleg Bulyzhin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oleg@FreeBSD.org --- Comment #11 from Oleg Bulyzhin --- JFYI: https://lists.freebsd.org/pipermail/freebsd-net/2018-November/052184.= html --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Mar 1 11:42:53 2019 Return-Path: Delivered-To: freebsd-net@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 5255015104F9 for ; Fri, 1 Mar 2019 11:42:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D967E72E93 for ; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 99E7715104F1; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) Delivered-To: net@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 7519915104F0 for ; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F5D372E8F for ; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 53ACF4696 for ; Fri, 1 Mar 2019 11:42:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x21BgpbB022594 for ; Fri, 1 Mar 2019 11:42:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x21Bgp0I022593 for net@FreeBSD.org; Fri, 1 Mar 2019 11:42:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Fri, 01 Mar 2019 11:42:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 11:42:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #12 from Alexey --- I rolled back on the current server to revision r341831 and it did not help, then I remembered that on the second server I used the drivers installed fr= om the ports (/usr/ports/net/intel-ix-kmod/). Now when using these drivers - there are no problems and the physical inter= face does not flap. FreeBSD nas1 12.0-STABLE FreeBSD 12.0-STABLE r341831 NAS amd64 Mar 1 13:38:29 nas1 ntpd[1127]: Listen normally on 8 vlan111 192.168.0.8:1= 23 Mar 1 13:38:32 nas1 ntpd[1127]: Deleting interface #8 vlan111, 192.168.0.8#123, interface stats: received=3D0, sent=3D0, dropped=3D0, acti= ve_time=3D3 secs [root@nas1 /home/pautina]# cat /etc/rc.conf |egrep "vlan111|ix1" cloned_interfaces=3D"vlan111 vlan780" ifconfig_ix1=3D"up -tso4 -tso6 -lro -vlanhwtso description -=3DINTERFACE-TO-APHRODITE=3D" ifconfig_vlan111=3D"inet 192.168.0.8 netmask 255.255.255.224 vlan 111 vland= ev ix1 description -=3DNAS-WORLD=3D-" [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# ifconfig vlan111 vlan111: flags=3D8843 metric 0 mtu = 1500 description: -=3DNAS-WORLD=3D- options=3D600003 ether e4:11:5b:9b:72:b4 inet 192.168.0.8 netmask 0xffffffe0 broadcast 192.168.0.31 groups: vlan vlan: 111 vlanpcp: 0 parent interface: ix1 media: Ethernet autoselect (10Gbase-Twinax ) status: active nd6 options=3D29 [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# ifconfig ix1 ix1: flags=3D8843 metric 0 mtu 1500 description: -=3DINTERFACE-TO-APHRODITE=3D =20=20=20=20=20=20=20 options=3De000bb ether e4:11:5b:9b:72:b4 media: Ethernet autoselect (10Gbase-Twinax ) status: active nd6 options=3D29 [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# grep if_ix_updated /boot/loader.conf if_ix_updated_load=3D"YES" [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# kldstat Id Refs Address Size Name 1 9 0xffffffff80200000 12f04e0 kernel 2 1 0xffffffff814f1000 562f0 if_ix_updated.ko 3 1 0xffffffff81621000 acf mac_ntpd.ko [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# dmesg |grep ix1 ix1: port 0xe000-0xe01f mem 0xdf980000-0xdf9fffff,0xdfb00000-0xdfb03fff irq 17 at dev= ice 0.1 on pci2 ix1: Using MSI-X interrupts with 5 vectors ix1: Ethernet address: e4:11:5b:9b:72:b4 ix1: PCI Express Bus: Speed 5.0GT/s Width x8 ix1: link state changed to UP [root@nas1 /home/pautina]# ix0@pci0:2:0:0: class=3D0x020000 card=3D0x17d3103c chip=3D0x10fb8086 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection' class =3D network subclass =3D ethernet ix1@pci0:2:0:1: class=3D0x020000 card=3D0x17d3103c chip=3D0x10fb8086 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection' class =3D network subclass =3D ethernet --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Mar 1 15:50:36 2019 Return-Path: Delivered-To: freebsd-net@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 11594151BAED for ; Fri, 1 Mar 2019 15:50:36 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5B20857FB; Fri, 1 Mar 2019 15:50:35 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 0E46B1EC5A; Fri, 1 Mar 2019 15:50:35 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 0D99225C422; Fri, 1 Mar 2019 15:50:35 +0000 (UTC) Date: Fri, 1 Mar 2019 15:50:35 +0000 To: Phabricator From: "aleksandr.fedorov_itglobal.com (Aleksandr Fedorov)" Cc: freebsd-net@freebsd.org Reply-to: "aleksandr.fedorov_itglobal.com (Aleksandr Fedorov)" Subject: [Differential] D19422: if_vxlan(4) Allow set MTU more than 1500 bytes. Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: <81>, <110> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-bvtxxu4jwhzdkwqxxgd7 X-Phabricator-Mail-ID: 1382915 X-Phabricator-Send-Attempt: jhnz47ke2bsjma4v Thread-Index: MzYyMWIxNGMwOTE4YmQzMWVhNTU2NTFhMGQ2 X-Phabricator-Stamps: actor(@aleksandr.fedorov_itglobal.com) application(Differential) author(@aleksandr.fedorov_itglobal.com) herald(H81) herald(H110) monogram(D19422) new() object-type(DREV) phid(PHID-DREV-bvtxxu4jwhzdkwqxxgd7) reviewer(#network) reviewer(@bryanv) reviewer(@hrs) revision-status(needs-review) subscriber(@ae) subscriber(@freebsd-net-list) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_1ab2c35f7d0313ed297fdb955a9d1f78" X-Rspamd-Queue-Id: A5B20857FB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 15:50:36 -0000 --b1_1ab2c35f7d0313ed297fdb955a9d1f78 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 YWxla3NhbmRyLmZlZG9yb3ZfaXRnbG9iYWwuY29tIGNyZWF0ZWQgdGhpcyByZXZpc2lvbi4KYWxl a3NhbmRyLmZlZG9yb3ZfaXRnbG9iYWwuY29tIGFkZGVkIHJldmlld2VyczogYnJ5YW52LCBocnMs IG5ldHdvcmsuCkhlcmFsZCBhZGRlZCBhIHN1YnNjcmliZXI6IGFlLgoKUkVWSVNJT04gU1VNTUFS WQogIEl0IHNlZW1zLCB0aGVyZSBhcmUgbm8gcmVhc29uIHRvIHByZXZlbnQgc2V0dGluZyBNVFUg bW9yZSB0aGFuIDE1MDAgYnl0ZXMuCiAgTVRVIGdyZWF0ZXIgdGhhbiAxNTAwIGdpdmVzIGEgc2ln bmlmaWNhbnQgaW5jcmVhc2UgaW4gdGhyb3VnaHB1dC4KClRFU1QgUExBTgogIGlwZXJmMyB0ZXN0 cyBiZXR3ZWVuIHR3byBtYWNoaW5lcyB1c2luZyB2eGxhbiBvdmVyIDEwR2JpdCBuZXR3b3JrIHdp dGggdmFyaW91cyBNVFUuCiAgCiAgKipUZXN0IDEuIHZ4bGFuIE1UVSAtMTUwMCwgcGh5c2ljYWwg bmV0d29yayBNVFUgLSA5MDAwKioKICAKICAgICMgaXBlcmYzIC1jIDE5Mi4xNjguMjQ4LjEKICAg IENvbm5lY3RpbmcgdG8gaG9zdCAxOTIuMTY4LjI0OC4xLCBwb3J0IDUyMDEKICAgIFsgIDVdIGxv Y2FsIDE5Mi4xNjguMjQ4LjIgcG9ydCAxMDUwIGNvbm5lY3RlZCB0byAxOTIuMTY4LjI0OC4xIHBv cnQgNTIwMQogICAgWyBJRF0gSW50ZXJ2YWwgICAgICAgICAgIFRyYW5zZmVyICAgICBCaXRyYXRl ICAgICAgICAgUmV0ciAgQ3duZAogICAgWyAgNV0gICAwLjAwLTEuMDAgICBzZWMgICAxNzUgTUJ5 dGVzICAxLjQ2IEdiaXRzL3NlYyAgICAwICAgMS4yNyBNQnl0ZXMgICAgICAgCiAgICBbICA1XSAg IDEuMDAtMi4wMSAgIHNlYyAgIDE5NCBNQnl0ZXMgIDEuNjMgR2JpdHMvc2VjICAgIDAgICAxLjI3 IE1CeXRlcyAgICAgICAKICAgIFsgIDVdICAgMi4wMS0zLjAwICAgc2VjICAgMTk1IE1CeXRlcyAg MS42NCBHYml0cy9zZWMgICAgMCAgIDEuMjcgTUJ5dGVzICAgICAgIAogICAgWyAgNV0gICAzLjAw LTQuMDEgICBzZWMgICAxOTYgTUJ5dGVzICAxLjY0IEdiaXRzL3NlYyAgICAwICAgMS4yNyBNQnl0 ZXMgICAgICAgCiAgICBbICA1XSAgIDQuMDEtNS4wMCAgIHNlYyAgIDE5NSBNQnl0ZXMgIDEuNjQg R2JpdHMvc2VjICAgIDAgICAxLjI3IE1CeXRlcyAgICAgICAKICAgIFsgIDVdICAgNS4wMC02LjAw ICAgc2VjICAgMTk1IE1CeXRlcyAgMS42MyBHYml0cy9zZWMgICAgMCAgIDEuMjcgTUJ5dGVzICAg ICAgIAogICAgWyAgNV0gICA2LjAwLTcuMDAgICBzZWMgICAxOTYgTUJ5dGVzICAxLjY0IEdiaXRz L3NlYyAgICAwICAgMS4yNyBNQnl0ZXMgICAgICAgCiAgICBbICA1XSAgIDcuMDAtOC4wMCAgIHNl YyAgIDE5NCBNQnl0ZXMgIDEuNjQgR2JpdHMvc2VjICAgIDAgICAxLjI3IE1CeXRlcyAgICAgICAK ICAgIFsgIDVdICAgOC4wMC05LjAwICAgc2VjICAgMTkxIE1CeXRlcyAgMS42MCBHYml0cy9zZWMg IDQ5MyAgICA5NjggS0J5dGVzICAgICAgIAogICAgWyAgNV0gICA5LjAwLTEwLjAwICBzZWMgICAx OTMgTUJ5dGVzICAxLjYyIEdiaXRzL3NlYyAgICAwICAgMS4xNSBNQnl0ZXMgICAgICAgCiAgICAt IC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtCiAgICBbIElE XSBJbnRlcnZhbCAgICAgICAgICAgVHJhbnNmZXIgICAgIEJpdHJhdGUgICAgICAgICBSZXRyCiAg ICBbICA1XSAgIDAuMDAtMTAuMDAgIHNlYyAgMS44OCBHQnl0ZXMgIDEuNjEgR2JpdHMvc2VjICA0 OTMgICAgICAgICAgICAgc2VuZGVyCiAgICBbICA1XSAgIDAuMDAtMTAuMDAgIHNlYyAgMS44OCBH Qnl0ZXMgIDEuNjEgR2JpdHMvc2VjICAgICAgICAgICAgICAgICAgcmVjZWl2ZXIKICAgIAogICAg aXBlcmYgRG9uZS4KICAKICAqKlRlc3QgMi4gdnhsYW4gTVRVIC04OTAwLCBwaHlzaWNhbCBuZXR3 b3JrIE1UVSAtIDkwMDAqKgogIAogICAgIyBpcGVyZjMgLWMgMTkyLjE2OC4yNDguMQogICAgQ29u bmVjdGluZyB0byBob3N0IDE5Mi4xNjguMjQ4LjEsIHBvcnQgNTIwMQogICAgWyAgNV0gbG9jYWwg MTkyLjE2OC4yNDguMiBwb3J0IDEwNTIgY29ubmVjdGVkIHRvIDE5Mi4xNjguMjQ4LjEgcG9ydCA1 MjAxCiAgICBbIElEXSBJbnRlcnZhbCAgICAgICAgICAgVHJhbnNmZXIgICAgIEJpdHJhdGUgICAg ICAgICBSZXRyICBDd25kCiAgICBbICA1XSAgIDAuMDAtMS4wMCAgIHNlYyAgIDU4NSBNQnl0ZXMg IDQuOTAgR2JpdHMvc2VjICAgIDAgICAxLjI4IE1CeXRlcwogICAgWyAgNV0gICAxLjAwLTIuMDAg ICBzZWMgICA2NTUgTUJ5dGVzICA1LjUwIEdiaXRzL3NlYyAgICAwICAgMS4yOCBNQnl0ZXMKICAg IFsgIDVdICAgMi4wMC0zLjAwICAgc2VjICAgNjU2IE1CeXRlcyAgNS41MCBHYml0cy9zZWMgICAg MCAgIDEuMjggTUJ5dGVzCiAgICBbICA1XSAgIDMuMDAtNC4wMCAgIHNlYyAgIDY1NSBNQnl0ZXMg IDUuNTAgR2JpdHMvc2VjICAgIDAgICAxLjI4IE1CeXRlcwogICAgWyAgNV0gICA0LjAwLTUuMDAg ICBzZWMgICA2NTYgTUJ5dGVzICA1LjUwIEdiaXRzL3NlYyAgICAwICAgMS4yOCBNQnl0ZXMKICAg IFsgIDVdICAgNS4wMC02LjAwICAgc2VjICAgNjU1IE1CeXRlcyAgNS41MCBHYml0cy9zZWMgICAg MCAgIDEuMjggTUJ5dGVzCiAgICBbICA1XSAgIDYuMDAtNy4wMCAgIHNlYyAgIDY1NiBNQnl0ZXMg IDUuNTAgR2JpdHMvc2VjICAgIDAgICAxLjI4IE1CeXRlcwogICAgWyAgNV0gICA3LjAwLTguMDAg ICBzZWMgICA2NTggTUJ5dGVzICA1LjUxIEdiaXRzL3NlYyAgICAwICAgMS4yOCBNQnl0ZXMKICAg IFsgIDVdICAgOC4wMC05LjAwICAgc2VjICAgNjU1IE1CeXRlcyAgNS41MCBHYml0cy9zZWMgICAg MCAgIDEuMjggTUJ5dGVzCiAgICBbICA1XSAgIDkuMDAtMTAuMDAgIHNlYyAgIDY1NSBNQnl0ZXMg IDUuNTAgR2JpdHMvc2VjICAgIDAgICAxLjI4IE1CeXRlcwogICAgLSAtIC0gLSAtIC0gLSAtIC0g LSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLQogICAgWyBJRF0gSW50ZXJ2YWwgICAgICAg ICAgIFRyYW5zZmVyICAgICBCaXRyYXRlICAgICAgICAgUmV0cgogICAgWyAgNV0gICAwLjAwLTEw LjAwICBzZWMgIDYuMzMgR0J5dGVzICA1LjQ0IEdiaXRzL3NlYyAgICAwICAgICAgICAgICAgIHNl bmRlcgogICAgWyAgNV0gICAwLjAwLTEwLjAwICBzZWMgIDYuMzMgR0J5dGVzICA1LjQ0IEdiaXRz L3NlYyAgICAgICAgICAgICAgICAgIHJlY2VpdmVyCiAgICAKICAgIGlwZXJmIERvbmUuCiAgCiAg KipUZXN0IDMuIHZ4bGFuIE1UVSAtODkwMCwgcGh5c2ljYWwgbmV0d29yayBNVFUgLSAxNTAwKioK ICAKICAgICMgaXBlcmYzIC1jIDE5Mi4xNjguMjQ4LjEKICAgIENvbm5lY3RpbmcgdG8gaG9zdCAx OTIuMTY4LjI0OC4xLCBwb3J0IDUyMDEKICAgIFsgIDVdIGxvY2FsIDE5Mi4xNjguMjQ4LjIgcG9y dCAxMDU1IGNvbm5lY3RlZCB0byAxOTIuMTY4LjI0OC4xIHBvcnQgNTIwMQogICAgWyBJRF0gSW50 ZXJ2YWwgICAgICAgICAgIFRyYW5zZmVyICAgICBCaXRyYXRlICAgICAgICAgUmV0ciAgQ3duZAog ICAgWyAgNV0gICAwLjAwLTEuMDAgICBzZWMgICAzMDEgTUJ5dGVzICAyLjUyIEdiaXRzL3NlYyAg ICAwICAgMS4yOCBNQnl0ZXMKICAgIFsgIDVdICAgMS4wMC0yLjAwICAgc2VjICAgMzM1IE1CeXRl cyAgMi44MSBHYml0cy9zZWMgICAgMCAgIDEuMjggTUJ5dGVzCiAgICBbICA1XSAgIDIuMDAtMy4w MCAgIHNlYyAgIDMzNiBNQnl0ZXMgIDIuODIgR2JpdHMvc2VjICAgIDAgICAxLjI4IE1CeXRlcwog ICAgWyAgNV0gICAzLjAwLTQuMDAgICBzZWMgICAzMzYgTUJ5dGVzICAyLjgyIEdiaXRzL3NlYyAg ICAwICAgMS4yOCBNQnl0ZXMKICAgIFsgIDVdICAgNC4wMC01LjAwICAgc2VjICAgMzM1IE1CeXRl cyAgMi44MSBHYml0cy9zZWMgICAgMCAgIDEuMjggTUJ5dGVzCiAgICBbICA1XSAgIDUuMDAtNi4w MCAgIHNlYyAgIDMzNiBNQnl0ZXMgIDIuODIgR2JpdHMvc2VjICAgIDAgICAxLjI4IE1CeXRlcwog ICAgWyAgNV0gICA2LjAwLTcuMDAgICBzZWMgICAzMzYgTUJ5dGVzICAyLjgyIEdiaXRzL3NlYyAg ICAwICAgMS4yOCBNQnl0ZXMKICAgIFsgIDVdICAgNy4wMC04LjAwICAgc2VjICAgMzM1IE1CeXRl cyAgMi44MSBHYml0cy9zZWMgICAgMCAgIDEuMjggTUJ5dGVzCiAgICBbICA1XSAgIDguMDAtOS4w MCAgIHNlYyAgIDMzNiBNQnl0ZXMgIDIuODIgR2JpdHMvc2VjICAgIDAgICAxLjI4IE1CeXRlcwog ICAgWyAgNV0gICA5LjAwLTEwLjAwICBzZWMgICAzMzYgTUJ5dGVzICAyLjgyIEdiaXRzL3NlYyAg ICAwICAgMS4yOCBNQnl0ZXMKICAgIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAt IC0gLSAtIC0gLSAtIC0KICAgIFsgSURdIEludGVydmFsICAgICAgICAgICBUcmFuc2ZlciAgICAg Qml0cmF0ZSAgICAgICAgIFJldHIKICAgIFsgIDVdICAgMC4wMC0xMC4wMCAgc2VjICAzLjI1IEdC eXRlcyAgMi43OSBHYml0cy9zZWMgICAgMCAgICAgICAgICAgICBzZW5kZXIKICAgIFsgIDVdICAg MC4wMC0xMC4wMCAgc2VjICAzLjI1IEdCeXRlcyAgMi43OSBHYml0cy9zZWMgICAgICAgICAgICAg ICAgICByZWNlaXZlcgogICAgCiAgICBpcGVyZiBEb25lLgoKUkVWSVNJT04gREVUQUlMCiAgaHR0 cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QxOTQyMgoKQUZGRUNURUQgRklMRVMKICBzeXMvbmV0 L2lmX3Z4bGFuLmMKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qu b3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogYWxla3NhbmRyLmZlZG9y b3ZfaXRnbG9iYWwuY29tLCBicnlhbnYsIGhycywgI25ldHdvcmsKQ2M6IGFlLCBmcmVlYnNkLW5l dC1saXN0LCBrcnp5c3p0b2YuZ2FsYXprYV9pbnRlbC5jb20K --b1_1ab2c35f7d0313ed297fdb955a9d1f78 Content-Type: text/x-patch; charset=utf-8; name="D19422.54585.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D19422.54585.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXQvaWZfdnhsYW4uYyBiL3N5cy9uZXQvaWZfdnhsYW4uYwotLS0g YS9zeXMvbmV0L2lmX3Z4bGFuLmMKKysrIGIvc3lzL25ldC9pZl92eGxhbi5jCkBAIC0yMjQ4LDEw ICsyMjQ4LDExIEBACiAJaWZyID0gKHN0cnVjdCBpZnJlcSAqKSBkYXRhOwogCWlmZCA9IChzdHJ1 Y3QgaWZkcnYgKikgZGF0YTsKIAorCWVycm9yID0gMDsKKwogCXN3aXRjaCAoY21kKSB7CiAJY2Fz ZSBTSU9DQURETVVMVEk6CiAJY2FzZSBTSU9DREVMTVVMVEk6Ci0JCWVycm9yID0gMDsKIAkJYnJl YWs7CiAKIAljYXNlIFNJT0NHRFJWU1BFQzoKQEAgLTIyNjgsNiArMjI2OSwxNCBAQAogCQllcnJv ciA9IGlmbWVkaWFfaW9jdGwoaWZwLCBpZnIsICZzYy0+dnhsX21lZGlhLCBjbWQpOwogCQlicmVh azsKIAorCWNhc2UgU0lPQ1NJRk1UVToKKwkJaWYgKGlmci0+aWZyX210dSA8IEVUSEVSTUlOIHx8 IGlmci0+aWZyX210dSA+IEVUSEVSTVRVX0pVTUJPKSB7CisJCQllcnJvciA9IEVJTlZBTDsKKwkJ fSBlbHNlIHsKKwkJCWlmcC0+aWZfbXR1ID0gaWZyLT5pZnJfbXR1OworCQl9CisJCWJyZWFrOwor CiAJZGVmYXVsdDoKIAkJZXJyb3IgPSBldGhlcl9pb2N0bChpZnAsIGNtZCwgZGF0YSk7CiAJCWJy ZWFrOwpAQCAtMjc0OCw4ICsyNzU3LDggQEAKIAlpZnAtPmlmX2lvY3RsID0gdnhsYW5faW9jdGw7 CiAJaWZwLT5pZl90cmFuc21pdCA9IHZ4bGFuX3RyYW5zbWl0OwogCWlmcC0+aWZfcWZsdXNoID0g dnhsYW5fcWZsdXNoOwotCWlmcC0+aWZfY2FwYWJpbGl0aWVzIHw9IElGQ0FQX0xJTktTVEFURTsK LQlpZnAtPmlmX2NhcGVuYWJsZSB8PSBJRkNBUF9MSU5LU1RBVEU7CisJaWZwLT5pZl9jYXBhYmls aXRpZXMgfD0gSUZDQVBfTElOS1NUQVRFIHwgSUZDQVBfSlVNQk9fTVRVOworCWlmcC0+aWZfY2Fw ZW5hYmxlIHw9IElGQ0FQX0xJTktTVEFURSB8IElGQ0FQX0pVTUJPX01UVTsKIAogCWlmbWVkaWFf aW5pdCgmc2MtPnZ4bF9tZWRpYSwgMCwgdnhsYW5fbWVkaWFfY2hhbmdlLCB2eGxhbl9tZWRpYV9z dGF0dXMpOwogCWlmbWVkaWFfYWRkKCZzYy0+dnhsX21lZGlhLCBJRk1fRVRIRVIgfCBJRk1fQVVU TywgMCwgTlVMTCk7Cgo= --b1_1ab2c35f7d0313ed297fdb955a9d1f78-- From owner-freebsd-net@freebsd.org Fri Mar 1 16:56:30 2019 Return-Path: Delivered-To: freebsd-net@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 CC683151D8AF for ; Fri, 1 Mar 2019 16:56:30 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C47788342; Fri, 1 Mar 2019 16:56:30 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id AEB4B1F88D; Fri, 1 Mar 2019 16:56:29 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id AE51D265E47; Fri, 1 Mar 2019 16:56:29 +0000 (UTC) Date: Fri, 1 Mar 2019 16:56:29 +0000 To: Phabricator From: rgrimes Cc: freebsd-net@freebsd.org Reply-to: rgrimes Subject: [Differential] D19422: if_vxlan(4) Allow set MTU more than 1500 bytes. Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <81>, <110> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-bvtxxu4jwhzdkwqxxgd7 X-Phabricator-Mail-ID: 1383071 X-Phabricator-Send-Attempt: z7vaj26vxk6ol7xy In-Reply-To: References: Thread-Index: MzYyMWIxNGMwOTE4YmQzMWVhNTU2NTFhMGQ2IFx5ZD0= X-Phabricator-Stamps: actor(@rgrimes) application(Differential) author(@aleksandr.fedorov_itglobal.com) herald(H81) herald(H110) monogram(D19422) object-type(DREV) phid(PHID-DREV-bvtxxu4jwhzdkwqxxgd7) reviewer(#network) reviewer(@bryanv) reviewer(@hrs) reviewer(@rgrimes) revision-status(accepted) subscriber(@ae) subscriber(@evgueni.gavrilov_itglobal.com) subscriber(@freebsd-net-list) subscriber(@olevole_olevole.ru) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-Rspamd-Queue-Id: 6C47788342 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 16:56:31 -0000 cmdyaW1lcyBhY2NlcHRlZCB0aGlzIHJldmlzaW9uIGFzOiByZ3JpbWVzLgpUaGlzIHJldmlzaW9u IGlzIG5vdyBhY2NlcHRlZCBhbmQgcmVhZHkgdG8gbGFuZC4KCkNIQU5HRVMgU0lOQ0UgTEFTVCBB Q1RJT04KICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDE5NDIyL25ldy8KClJFVklTSU9O IERFVEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMTk0MjIKCkVNQUlMIFBSRUZF UkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWls cHJlZmVyZW5jZXMvCgpUbzogYWxla3NhbmRyLmZlZG9yb3ZfaXRnbG9iYWwuY29tLCBicnlhbnYs IGhycywgI25ldHdvcmssIHJncmltZXMKQ2M6IGV2Z3VlbmkuZ2F2cmlsb3ZfaXRnbG9iYWwuY29t LCBvbGV2b2xlX29sZXZvbGUucnUsIGFlLCBmcmVlYnNkLW5ldC1saXN0LCBrcnp5c3p0b2YuZ2Fs YXprYV9pbnRlbC5jb20K From owner-freebsd-net@freebsd.org Fri Mar 1 23:35:22 2019 Return-Path: Delivered-To: freebsd-net@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 2D1481505CFC for ; Fri, 1 Mar 2019 23:35:22 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670055.outbound.protection.outlook.com [40.107.67.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9656680FE; Fri, 1 Mar 2019 23:35:19 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM (52.132.89.15) by QB1PR01MB3554.CANPRD01.PROD.OUTLOOK.COM (52.132.89.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.16; Fri, 1 Mar 2019 23:35:13 +0000 Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c]) by QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c%6]) with mapi id 15.20.1643.022; Fri, 1 Mar 2019 23:35:13 +0000 From: Rick Macklem To: "Rodney W. Grimes" CC: "Bjoern A. Zeeb" , FreeBSD Net , "rgrimes@freebsd.org" , "hrs@freebsd.org" Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Topic: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Index: AQHUzwGwHmKnVmR//0yzd/zC2ycfBaX0bvqAgAGlN+2AAJ/pAIAAuLZy Date: Fri, 1 Mar 2019 23:35:13 +0000 Message-ID: References: , <201903011219.x21CJkIE061223@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201903011219.x21CJkIE061223@pdx.rh.CN85.dnsmgr.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f077d027-1b0e-49a3-14e0-08d69e9e8d76 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:QB1PR01MB3554; x-ms-traffictypediagnostic: QB1PR01MB3554: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; QB1PR01MB3554; 23:FjOrvg/Bn36zAZCliuJZ/uMS9DElLbnDrFKHeMf?= =?iso-8859-1?Q?RLxzsLYBVwYpooHmYjz3mtbydpe7ajJZNWdced1cYYGwus5CmHUIqiPzIy?= =?iso-8859-1?Q?6HZ/BhOrcnUWO7c0sxXOf70qkkmA3WWZkdnGLuBmZ/YvvSPu51rDZP5DQo?= =?iso-8859-1?Q?5Z9vKLdst5HCSz/DU1cKwGcxr+uv7OkOQLteKAtgCggGzymVWcDPennz94?= =?iso-8859-1?Q?U7sONV8N616/bVsrnSbeeG0IDmmh1YUtylJyX+2oNSuAYiF/BjeeFst0po?= =?iso-8859-1?Q?xrw6LHZNaKbnzjLXSgEHLitYJJcOWv6UPAv8MXX5EWe+LojvmJXhzs0oib?= =?iso-8859-1?Q?9vCWULE/w1xN/KgB1yHtqvpxtbU+7aUPoprJwHY4MoY7+qnmxqx1JsaSgm?= =?iso-8859-1?Q?lxF91Qnyam7L7GaVGdLAtZNjaGjMJZO9OXaCMMEVDzB/iEpxLYgPCnkZYe?= =?iso-8859-1?Q?yqqo8IpO8BELQVfgncvUM77J4eixEPwc/0bd6y8Nx0FJdqfnv/Wl0AcB01?= =?iso-8859-1?Q?LPAiN6qU8qqZ6pX83UMRTNPVmBeLFwWqiFf/pDgMM5QFPscL8g5Nww9C/m?= =?iso-8859-1?Q?nKCD8U/F547T5+Ie17RL327MpGpfhak1qGcHDjaGzpUc0yGxBtj9BJo35J?= =?iso-8859-1?Q?wqG6ee+sF2rKtFHNYX4a33h25hW+LHaqFLqqYpNeriI8dUAmcwSoKYjDCD?= =?iso-8859-1?Q?OV9o57z9hzQ6OTBMMFW2NH3wNSmyaLaunDw0e2n7x8bLkb3fMXLUozE/Zr?= =?iso-8859-1?Q?8LYZ4e58t4lsOXEdvoBtvo9fU8jWZhpdKz+40ORVX+DD5pdiLn+Db2YOvh?= =?iso-8859-1?Q?mntrtsKvJ/4Sf1pFhJGT9Z43W+NpBVdqYbPa0NPzzQw1BH3WvyPkXwkk5T?= =?iso-8859-1?Q?SZN6J4INIonKlxBJhtG2rlqgaHrrEXeSnEmAvchm7YrHgGkPhpN2lN2fOD?= =?iso-8859-1?Q?x1qS9fRpgkXe5GIB2e63+iH8jHz+zoD9i7Ur9HvxZDAWqD7mnTDXc6YKlw?= =?iso-8859-1?Q?ZCY+uVfYpzX6PJTNiBTKd0R6uLHk+MFFAPkFbiX3nUUi9aYkE4QpvuL+zg?= =?iso-8859-1?Q?rGVlruaXfS+ro5b0CPBGW+dX+ppYxIc+pcgPf5m0/qAgoiyuQJiBgtqzBU?= =?iso-8859-1?Q?gwy/zkF4UM5ZkoPVb8mi0WpmzTqCjo99SsaAq45ljvjdWZEnMS8Nx8OPQn?= =?iso-8859-1?Q?2i3gTDaRlG75b+fI3HOMJu5vZkQwCBlLN1VQwv5HNkwWSUOp1ZmsL0=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09634B1196 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(396003)(346002)(366004)(136003)(199004)(189003)(174864002)(68736007)(81156014)(102836004)(81166006)(97736004)(8676002)(26005)(316002)(786003)(105586002)(11346002)(33656002)(446003)(99286004)(186003)(76176011)(106356001)(54906003)(7696005)(486006)(74482002)(6506007)(74316002)(6916009)(8936002)(476003)(71190400001)(71200400001)(478600001)(4326008)(55016002)(6436002)(2906002)(229853002)(14444005)(6246003)(9686003)(256004)(53936002)(305945005)(14454004)(86362001)(25786009)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:QB1PR01MB3554; H:QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yNzawJv7pW/X1+9Fz6S9nuxJDLV87hYCVatALxWGziJ1c29StINECLEyPm9hsW2j4YfUtGeUnxC6SqpPfk/FrBrMOGYuU7KTQ/f9hOcZw9//NtjobJKT8e5uXWyvq+nL/sBJy0A/44kBondeeEmBXh/0ZVxI26NC80QNTvRQWdbm2AdxWGEILOnjX1Sn92WYqx8WVYRL2NxzSETvDxXU23EbYjmQQJIJDaM1dC9paTE5YvDlG5/W7LwHoPWddV2eJDtSAgpI4auVkngIrhMJwaMWMrRGVupeJ2K0mRGD1GmzH27ZXvwcaTV5bzCLz0ebNl24bn+osqBhTxt4cSb3SWSnCC6F2Po6h+CuElKM/NZLRcKHhz7B8yBS3+rEvASEPrWt+aX3ZPaP7Z8OhNBXUg+3sc0sVDX99eWgteXlrxg= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: f077d027-1b0e-49a3-14e0-08d69e9e8d76 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2019 23:35:13.3720 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB3554 X-Rspamd-Queue-Id: C9656680FE X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.67.55 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-0.84 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.35)[-0.347,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; NEURAL_HAM_LONG(-0.93)[-0.935,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[uoguelph.ca]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.75)[0.752,0]; MX_GOOD(-0.01)[cached: mx2.hc184-76.ca.iphmx.com]; RCVD_IN_DNSWL_NONE(0.00)[55.67.107.40.list.dnswl.org : 127.0.3.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 23:35:22 -0000 Rodney W. Grimes wrote: >Rick Macklem wrote: >> I doubt NFS gets squeezed into such devices and, yes, it is a small amou= nt. >> Using source line counts via "wc" (ir includes comments, etc): >> - This will reduce the # of lines by about 6 for a module of about 7700 = lines >> which is loaded when either the nfscl or nfsserver modules are loaded= . >> (These are both about 25000 lines and require the krpc, which is anot= her 10000. >> I haven't included the Kerberos stuff, because I can't remember if = that gets loaded >> unless Kerberos mounts get used.) >> --> A savings of 6 lines in something like 43000. > >That means that nfsusrd is an extremly well behaved ipv4/ipv6 >agnostic deamon that only takes a small change to make it able >to run as either v4/v6 as a single stack or dual stacked, at a cost >that also sounds minial, even if it took an #ifdef for each of these >lines that is only 6 in 43000 lines of code, which is a small cost. Just fyi, the above referred to the kernel changes and not nfsuserd.c, but = it doesn't really matter. I accept the argument that it documents where INET and INET6 code is . >The same analysis on other code probably comes out no place near >this. > >Also didnt this use to use a unix domain? Could the unix domain >be put back and knobbed so that I could actually run this without >it doing the localnet thing at all? I know that it had issues >as the socket is in /tmp and if /tmp isnt a right type file system, >etc... But some of us do know that and do run with a /tmp that >would support AF_UNIX type nfsusrd. > >If it takes 6 lines of ifdef to do v4 vs v6, how many lines of >ifdef is it to add AF_UNIX back and make it run time choice? > >(Goes looking for more Nomex clothing :-) The AF_LOCAL code was in head for a short period of time before a vnode loc= k panic() issue was reported and I reverted the patch. Here is the commit log message for that reversion: PR#230752 shows a panic where an nfsd thread tries to do soconnect() on the AF_LOCAL socket used by the nfsuserd while already holding an exclusive lock on it. I am not 100% sure how this happens, but since an AF_LOCAL socket is in the file system namespace it is conceivable that it could lock it and then attempt an upcall to the nfsuserd. However, reverting r320757 stops the nfsuserd from using an AF_LOCAL socket, so it should avoid any such panic(). r320757 did fix a problem with running the nfsuserd when jails were enabled, but that can be dealt with less elegantly by allowing the use of an alternate address instead of 127.0.0.1. The gssd daemon also uses an AF_LOCAL socket, but it will do upcalls before the nfsd thread processes the RPC, so I think it should not be suseptible to this problem. As you can see from the above, I wasn't 100% sure what caused the vnode loc= k panic(). It might only occur for the AF_LOCAL socket being on an NFS mount, but I am= not sure. I also don't like the idea of code that depends on the kind of underlying f= ile system to function correctly. (The VFS/VOP interface is meant to make "type of file s= ystem" transparent to userland as far as possible, as I see it.) So, I don't feel comfortable with enabling AF_LOCAL for certain file system= types, since I know using an INET/INET6 socket address avoids the problem. I could make an argument for some other "namespace" for local sockets other= than the file system directory structure, but that sounds like way too much work= for me... rick ps: I think the above answers hrs@'s comment about AF_LOCAL as well. From owner-freebsd-net@freebsd.org Sat Mar 2 00:58:14 2019 Return-Path: Delivered-To: freebsd-net@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 0C647150827A for ; Sat, 2 Mar 2019 00:58:14 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660073.outbound.protection.outlook.com [40.107.66.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF1F66C6B4; Sat, 2 Mar 2019 00:58:12 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM (52.132.89.15) by QB1PR01MB3057.CANPRD01.PROD.OUTLOOK.COM (52.132.84.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.17; Sat, 2 Mar 2019 00:58:10 +0000 Received: from QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c]) by QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM ([fe80::609b:1ecd:c908:d44c%6]) with mapi id 15.20.1643.022; Sat, 2 Mar 2019 00:58:10 +0000 From: Rick Macklem To: "Rodney W. Grimes" CC: FreeBSD Net , "hrs@freebsd.org" , "Bjoern A. Zeeb" , "rgrimes@freebsd.org" Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Topic: use of #ifdef INET and #ifdef INET6 in the kernel sources Thread-Index: AQHUzwGwHmKnVmR//0yzd/zC2ycfBaX0bvqAgAGlN+2AAJ/pAIAAuLZygAAY78g= Date: Sat, 2 Mar 2019 00:58:10 +0000 Message-ID: References: , <201903011219.x21CJkIE061223@pdx.rh.CN85.dnsmgr.net>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d233adf6-76d4-4661-74e6-08d69eaa2416 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:QB1PR01MB3057; x-ms-traffictypediagnostic: QB1PR01MB3057: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; QB1PR01MB3057; 23:/yLu1hoejYakd0wfrBfkj0hnVgiQ+dGv5pofuv/?= =?iso-8859-1?Q?ZKs6rFGrjYL/xhMsweWR6dWTqO48z6UVj/iS55EKRy7zMeAb06gED+qD/b?= =?iso-8859-1?Q?tpLkeEz7+DZaNoh65D5lT+9y2HpSpfFkozXm0WfeBypxlb+xrssFdZiawd?= =?iso-8859-1?Q?OJyOWscoZpfYimbVpfbQof2Lh7m2UieVnO/p0fbNkfliRyT757okn6d209?= =?iso-8859-1?Q?o1lGgmn7FdeNEiiIoJyL7btoCD2AW3fXp7csvWTFBG5HJX34NAdxB1gTEH?= =?iso-8859-1?Q?BkJ4qL60hqoQZXSwQocaHcCH+FIZY82lq86Dng/vVFJwDObtTX1ufDbhrh?= =?iso-8859-1?Q?3R5Yc7knuzUE0uMmKgto/lQs84wGOc+fqIduHl3JHAdC887frAF90AXO4z?= =?iso-8859-1?Q?oAXWAKWPg/hJWxsEicQGhnmqzXWNJzIHXniPIAwp4R4a3hKEeypOppF0zS?= =?iso-8859-1?Q?iLi/fcEReAod4WogcDMmB41jY/iErf+2r0SEnIChObKx5QQh+PrZS+yHAI?= =?iso-8859-1?Q?sZ+4oXDk6tLDnZhvMOZc+R6ewaUwoWUMb54RKyOuTnIuDZEPCnXDJPqfoa?= =?iso-8859-1?Q?o/SgKSpCH7aI9KQDJ2jpcUM5eBKqprPU6V6f9vlsRvmoPle8fi5xPkGv8o?= =?iso-8859-1?Q?OraAsDjvWyZprs2sMRHLkBvL2glSHDXRX0Jhx1bGzDBF2Nzi7uccns7bY5?= =?iso-8859-1?Q?GWcjjMNVyowRAdc06oxs4L8+/jmzHqYW8QNswPuJUDof3EV1JGzBy9P/zn?= =?iso-8859-1?Q?GP2euzpfyEYzHjPLOmr66R0ZRUlQiTAO3Zwk08FTqAqUh9yc40heGweUzp?= =?iso-8859-1?Q?rZgPkleRWG725I2dl7Q2thGTQO8eIFdzkEgtrZTdsfj2TjDpnWqC4oCkKr?= =?iso-8859-1?Q?kf4I9d5/1qbU7C3hp+6VnRqacvll4Ywqrte1EQ2SWT48lPX98oeIQzou9t?= =?iso-8859-1?Q?KLYNYvE/CLmgM9sejvysL091BUgtNFEgV8jsApTH6CEHagYX5vBcbg5sEz?= =?iso-8859-1?Q?vt38axiwA8vs39lcMHcaP+9af1+GXIJdDFpr9mNIXdSGdGhuCdKqe7b6W0?= =?iso-8859-1?Q?so7HQrQo8YOjjBFsnnZnTmzLO0U1jLO01DvN0Y/qsLxMMN+BxLWu5LJwpz?= =?iso-8859-1?Q?0jhc6zOUY1l1LJW4UIE/IbwAWSsbA2rYc5cQ0gtEm1/fIFCnMbOkZql7Ec?= =?iso-8859-1?Q?/Edfsp29pmXNLMOm4nIl+znrfN2NqCL3A=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09645BAC66 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(376002)(396003)(346002)(136003)(199004)(189003)(476003)(446003)(11346002)(486006)(53936002)(25786009)(4326008)(256004)(6246003)(71190400001)(46003)(14444005)(71200400001)(7696005)(97736004)(76176011)(102836004)(99286004)(5660300002)(6506007)(186003)(106356001)(105586002)(81166006)(786003)(316002)(54906003)(229853002)(6436002)(305945005)(74316002)(8676002)(55016002)(81156014)(9686003)(478600001)(86362001)(8936002)(14454004)(2906002)(74482002)(33656002)(6916009)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:QB1PR01MB3057; H:QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: stz3zPjW32U/VlEUxvm5YbsZwSuho4OUMEkqXkZenrCqsLJnSXMii9ye00ap8eIguO26leZpsGwj1F8A8EAIRY8zVCTgsunDtulhsolq5rHja3Bx0l/ekxY/HIbhp1mukr7eV+cX/64k7AoRBuxtNOUvaXhjezgfulPWN2n24iUWK4hUL57BoTAvWQ9OR6xJFgZ476EQRGBTix5xQbq0+wT6+jtiwKa41jgT8+1/YzrU5Vf1+pNrnYE9Pf2wmMfucGJeWH/pPoWt3MxpN3nTTnnRbbMajiEzct3fcqNeLZTgwi8sC4YZcXVIbMWlnZZJNVbaB4SGnWjsl8o8Njr2MsdJHQLsSvSbidOjk/67ZhyF1iRSv5aaJXql/meDMX9AVViYxje0U/vVQs82zV169S3k+YG7p34ocYXBdSDowTU= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: d233adf6-76d4-4661-74e6-08d69eaa2416 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2019 00:58:10.5973 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB3057 X-Rspamd-Queue-Id: AF1F66C6B4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.66.73 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-1.02 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.35)[-0.345,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; NEURAL_HAM_LONG(-0.94)[-0.935,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[uoguelph.ca]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.57)[0.572,0]; MX_GOOD(-0.01)[cached: mx2.hc184-76.ca.iphmx.com]; RCVD_IN_DNSWL_NONE(0.00)[73.66.107.40.list.dnswl.org : 127.0.3.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 00:58:14 -0000 Rick Macklem wrote: [stuff snipped] >The AF_LOCAL code was in head for a short period of time before a vnode lo= ck panic() >issue was reported and I reverted the patch. > >Here is the commit log message for that reversion: >PR#230752 shows a panic where an nfsd thread tries to do soconnect() on >the AF_LOCAL socket used by the nfsuserd while already holding an >exclusive lock on it. I am not 100% sure how this happens, but since an >AF_LOCAL socket is in the file system namespace it is conceivable that it >could lock it and then attempt an upcall to the nfsuserd. >However, reverting r320757 stops the nfsuserd from using an AF_LOCAL >socket, so it should avoid any such panic(). >r320757 did fix a problem with running the nfsuserd when jails were >enabled, but that can be dealt with less elegantly by allowing the >use of an alternate address instead of 127.0.0.1. >The gssd daemon also uses an AF_LOCAL socket, but it will do upcalls >before the nfsd thread processes the RPC, so I think it should not >be suseptible to this problem. Oops. Duh. I should have read my own commit message more carefully... It was an nfsd thread, so the file system wasn't an NFS mount, it was a fil= e system exported to NFS client(s). It is possible to test to see if a file system is exported, but that can ch= ange at any time, so even if it isn't exported when the nfsuserd daemon is start= ed, it could be exported later. So, I don't see any way AF_LOCAL can be safely used here. Oh, and the kernel RPC expects to be able to do a soconnect() using a sockaddr, so socketpair() won't do the trick. rick From owner-freebsd-net@freebsd.org Sat Mar 2 02:25:35 2019 Return-Path: Delivered-To: freebsd-net@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 85059150C1C3 for ; Sat, 2 Mar 2019 02:25:35 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (mx-int.allbsd.org [IPv6:2001:2f0:104:e002::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.allbsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E289F6FFFA; Sat, 2 Mar 2019 02:25:34 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2452109-ipngn10801funabasi.chiba.ocn.ne.jp [180.13.106.109]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id x222P39O058414 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) (Client CN "/CN=mail.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=Let's+20Encrypt+20Authority+20X3"); Sat, 2 Mar 2019 11:25:18 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.d.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id x222P3mT065088 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 2 Mar 2019 11:25:03 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.15.2/8.15.2) with ESMTPA id x222Ojfa065063; Sat, 2 Mar 2019 11:24:47 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sat, 02 Mar 2019 11:23:07 +0900 (JST) Message-Id: <20190302.112307.506661729975878277.hrs@allbsd.org> To: rmacklem@uoguelph.ca Cc: freebsd-rwg@pdx.rh.CN85.dnsmgr.net, freebsd-net@freebsd.org, bz@FreeBSD.org, rgrimes@freebsd.org Subject: Re: use of #ifdef INET and #ifdef INET6 in the kernel sources From: Hiroki Sato In-Reply-To: References: <201903011219.x21CJkIE061223@pdx.rh.CN85.dnsmgr.net> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.8 on Emacs 25.3 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sat_Mar__2_11_23_07_2019_942)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.6.2 (mail.allbsd.org [133.31.130.41]); Sat, 02 Mar 2019 11:25:25 +0900 (JST) X-Spam-Status: No, score=-97.4 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,UNPARSEABLE_RELAY,URIBL_SC2_SURBL,URIBL_XS_SURBL, USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.allbsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 02:25:35 -0000 ----Security_Multipart(Sat_Mar__2_11_23_07_2019_942)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Rick Macklem wrote in : rm> Rick Macklem wrote: rm> [stuff snipped] rm> >The AF_LOCAL code was in head for a short period of time before a vnode lock panic() rm> >issue was reported and I reverted the patch. rm> > rm> >Here is the commit log message for that reversion: rm> >PR#230752 shows a panic where an nfsd thread tries to do soconnect() on rm> >the AF_LOCAL socket used by the nfsuserd while already holding an rm> >exclusive lock on it. I am not 100% sure how this happens, but since an rm> >AF_LOCAL socket is in the file system namespace it is conceivable that it rm> >could lock it and then attempt an upcall to the nfsuserd. rm> >However, reverting r320757 stops the nfsuserd from using an AF_LOCAL rm> >socket, so it should avoid any such panic(). rm> >r320757 did fix a problem with running the nfsuserd when jails were rm> >enabled, but that can be dealt with less elegantly by allowing the rm> >use of an alternate address instead of 127.0.0.1. rm> >The gssd daemon also uses an AF_LOCAL socket, but it will do upcalls rm> >before the nfsd thread processes the RPC, so I think it should not rm> >be suseptible to this problem. rm> rm> Oops. Duh. I should have read my own commit message more carefully... rm> It was an nfsd thread, so the file system wasn't an NFS mount, it was a file rm> system exported to NFS client(s). rm> rm> It is possible to test to see if a file system is exported, but that can change rm> at any time, so even if it isn't exported when the nfsuserd daemon is started, rm> it could be exported later. rm> rm> So, I don't see any way AF_LOCAL can be safely used here. rm> rm> Oh, and the kernel RPC expects to be able to do a soconnect() using a rm> sockaddr, so socketpair() won't do the trick. Thank you for your clarification. I agree that AF_INET/AF_INET6 loopback address is much easier to avoid file system dependency. For the original question about whether we should use a hard-coded address or not, my suggestion is that we do not need to use the name "localhost" or rely on any Internet domain resolver code such as DNS as long as the hard-coded addresses cover all of supported address families (we have only two in practice). However, an option to specify a loopback address to be used might mitigate multiple loopback address issues in classical jail w/o VNET or multiple supported address families. Is there any problem with using NFSSVC_NFSUSERDPORT to pass a struct sockaddr (i.e. udptransp->xp_ltaddr, not only xp_port) directly? I think checking on kernel side if (sa_family == AF_INET or AF_INET6) and the address is already bound before the newfs_connect() call in nfsrv_nfsuserdport() guarantee that the specified sockaddr is a loopback address. Anyway, we might want to have AF_LOCAL socket with namespace which does not depend on any file system to communicate between kernel and userland. Linux has it for a long time (by putting '\0' at the head of an AF_LOCAL address) while I am still not sure if this is the best way to implement. While a new protocol family (PF_KEY is used in IPsec for example) also works for this purpose, it is probably a sledgehammer to crack a nut. -- Hiroki ----Security_Multipart(Sat_Mar__2_11_23_07_2019_942)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iEYEABECAAYFAlx56QsACgkQTyzT2CeTzy1fowCdH+oucHSs2UMFur6QXg7bTOpU Hy8AnRRGvQLsZtoyVzXM+Hw2BovZkNwB =ZuZC -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Mar__2_11_23_07_2019_942)---- From owner-freebsd-net@freebsd.org Sat Mar 2 13:07:45 2019 Return-Path: Delivered-To: freebsd-net@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 A34A31522231 for ; Sat, 2 Mar 2019 13:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9A68D65E for ; Sat, 2 Mar 2019 13:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F059F1522230; Sat, 2 Mar 2019 13:07:44 +0000 (UTC) Delivered-To: net@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 DD924152222E for ; Sat, 2 Mar 2019 13:07:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79AA08D65B for ; Sat, 2 Mar 2019 13:07:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B82DA12601 for ; Sat, 2 Mar 2019 13:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x22D7hhQ008838 for ; Sat, 2 Mar 2019 13:07:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x22D7hrj008835 for net@FreeBSD.org; Sat, 2 Mar 2019 13:07:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236067] [em] Intel 82574L can not turn off flow control Date: Sat, 02 Mar 2019 13:07:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 13:07:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236067 --- Comment #5 from Lev A. Serebryakov --- Inserting manageable switch (HP1800-8G) instead of simple one (HP1400-8G) w= ith explicitly disabled flow control on all ports helps, BTW. But still, i210->i210 doesn't require manageable switch to drop packets on = the floor :-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Mar 2 12:42:09 2019 Return-Path: Delivered-To: freebsd-net@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 794471521474 for ; Sat, 2 Mar 2019 12:42:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 13B428CA6D for ; Sat, 2 Mar 2019 12:42:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C6F221521473; Sat, 2 Mar 2019 12:42:08 +0000 (UTC) Delivered-To: net@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 B2F691521472 for ; Sat, 2 Mar 2019 12:42:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45B308CA66 for ; Sat, 2 Mar 2019 12:42:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 73CBF122CB for ; Sat, 2 Mar 2019 12:42:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x22Cg7ld030373 for ; Sat, 2 Mar 2019 12:42:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x22Cg7tO030368 for net@FreeBSD.org; Sat, 2 Mar 2019 12:42:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236067] [em] Intel 82574L can not turn off flow control Date: Sat, 02 Mar 2019 12:42:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 12:42:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236067 --- Comment #4 from Lev A. Serebryakov --- (In reply to Eric Joyner from comment #2) I've added i210 (in form of I210-T1 addon card) to my traffic generator sys= tem, and it is limited by receiver (82574L) too! Both ends have FC turned off (with `dev.igb.0.fc=3D0` and `dev.em.0.fc=3D0` respective). I've tried with and without switch between. So, two more datapoints: i210 -> Switch -> 82574L - pkt-gen generates PPS limited by receiver. i210 -> 82574L - pkt-gen generates PPS limited by receiver. i210 -> Switch -> "blackhole" (no other devices attached to switch) - pkt-g= en generates line-rate PPS. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Mar 2 14:56:52 2019 Return-Path: Delivered-To: freebsd-net@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 09B791500719 for ; Sat, 2 Mar 2019 14:56:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 965476B095 for ; Sat, 2 Mar 2019 14:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4FC711500718; Sat, 2 Mar 2019 14:56:51 +0000 (UTC) Delivered-To: net@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 3BAC21500717 for ; Sat, 2 Mar 2019 14:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C59EA6B091 for ; Sat, 2 Mar 2019 14:56:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F138F135E7 for ; Sat, 2 Mar 2019 14:56:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x22Eunax064106 for ; Sat, 2 Mar 2019 14:56:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x22EunLw064105 for net@FreeBSD.org; Sat, 2 Mar 2019 14:56:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Sat, 02 Mar 2019 14:56:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 14:56:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glebius@FreeBSD.org --- Comment #10 from Kristof Provost --- (In reply to genneko217 from comment #9) That's a very good question that I don't have a great answer for. Looking at the commit that introduced it I'm inclined to think that might b= e a mistake. I've cc'd Gleb because he might know more. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Mar 2 20:14:34 2019 Return-Path: Delivered-To: freebsd-net@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 7D144150D7EC for ; Sat, 2 Mar 2019 20:14:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F058081363 for ; Sat, 2 Mar 2019 20:14:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B39CE150D7EB; Sat, 2 Mar 2019 20:14:33 +0000 (UTC) Delivered-To: net@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 A1462150D7EA for ; Sat, 2 Mar 2019 20:14:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AAEE81360 for ; Sat, 2 Mar 2019 20:14:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6727B16484 for ; Sat, 2 Mar 2019 20:14:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x22KEWGx018740 for ; Sat, 2 Mar 2019 20:14:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x22KEWic018739 for net@FreeBSD.org; Sat, 2 Mar 2019 20:14:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 219428] em network driver broken in current Date: Sat, 02 Mar 2019 20:14:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nleibert87@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 20:14:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219428 Nick changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nleibert87@gmail.com --- Comment #19 from Nick --- Hi, I believe I am also affected by this bug in FreeBSD-12.0-RELEASE-p3. When uploading/downloading at the same time, em0 loses speed and will eventually restart with: Mar 2 14:45:40 kernel: em0: TX(0) desc avail =3D 41, pidx =3D 583 Mar 2 14:45:41 kernel: em0: link state changed to DOWN Mar 2 14:45:42 kernel: em0: link state changed to UP Mar 2 14:45:43 kernel: em0: TX(0) desc avail =3D 1024, pidx =3D 0 Mar 2 14:45:44 kernel: em0: link state changed to DOWN Mar 2 14:45:45 kernel: em0: link state changed to UP em0@pci0:0:25:0: class=3D0x020000 card=3D0x20138086 chip=3D0x1503808= 6 rev=3D0x05 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82579V Gigabit Network Connection' class =3D network subclass =3D ethernet This does not happen when using Linux (ie Debian 9.8). Thank you. --=20 You are receiving this mail because: You are the assignee for the bug.=