From nobody Wed Feb 08 21:07:57 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBsz13hXyz3pKPK; Wed, 8 Feb 2023 21:07:57 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBsz11yrvz3ldM; Wed, 8 Feb 2023 21:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675890477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EsNuVdkugQMe1OgQNHnLgJWaBMlvM+IlOhII5Wv7VI4=; b=acNUgZzNTPy1O+88xF89yI1C/Z3qfzUrJWEl3O9kAJPH6PXDzvKsp8XKeoX1EzxWbbcPGS dVnjmQVamLDWtGpuV53WSZcVppAxWPTQU6wMT6CTv1RxmhUE7JJ7qSE7m7uu/n8iV+J1bT ZiXAvHBCXeBPxfRhdKttfSzGvbQj+++982KX+ARSd2Xz6+xjKZdADBd9KBl7un/QT8ku+S 0YtIsoPql5MAMAXF8SsUQ5GzEldu5v4MxLj652mtzGNyNMjywoDbbFENEB1Jp83oDfzEeZ CNSHyTLkGxtvMGIKQF2IxfTB5kdRcsUaOJ++KcUZY8VBwnkmtPu3R0ucLyg30A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675890477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EsNuVdkugQMe1OgQNHnLgJWaBMlvM+IlOhII5Wv7VI4=; b=B4yrhKOTCKLYcnZk9zzhbCJuzkkVdQiJhmldfUIphYsK+PuNp1I9QgHPSlIMSi+WIAsA9h z+IK1iV0qksKoi0E9p0D5Is5FjwIxLauvAKkQfM45Bv8FrslW2tY6SU8V0o9/WBOw5yI+0 ZFPVfAQFir6l8udals+tWKKPVdaaM0ITNtYBA44RKHZSaeUKttQMkB8i+jwJRwnJ7H7fer u81vYCrj06cr5SWXNQubhSsfcfyDCYQgzRNGm53Ba7fe/nMozr5XLwkyXd/Wf4iR/nYgRk VZ4r8qSJmjmFVV1AAU9xojGXm8Z+lOL1xCXhVTbhBiepbN97pcv7VfRvZ9ysXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675890477; a=rsa-sha256; cv=none; b=Qo10yM9uRPR9pCFtcufjqNXjRTsanL5jJIWOAQuDWoyBHe2QD4PiAIh4dYPtjuLBpOBwAw QjjGGtp4mhATYOPjCwaP18RabG3dC/Tmw7AIrKbYbCWs0xNKwL7jaqx1ZcBnS9f4iwB0qI c+NU6tiiJMLYtBufUCPncTIpdK9fxl3LJXVi2TUOlmGa6rtkiHEUNdke+wKkoCMS4yfxUO wA/zIH0/Ue6GiG3FKl08tgbxs3105bJ6UTN5mmzxa34wBM/H0bMyaSkSd81RzBSFDCp1SV IgUs9EsPZzp97mm6agWDi3v08DWqocQWxy9a40iaXLd8VkA2g84PxAUKyQ06DQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PBsz1141Qz1BM6; Wed, 8 Feb 2023 21:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 318L7v4a068395; Wed, 8 Feb 2023 21:07:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 318L7vBP068394; Wed, 8 Feb 2023 21:07:57 GMT (envelope-from git) Date: Wed, 8 Feb 2023 21:07:57 GMT Message-Id: <202302082107.318L7vBP068394@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vincenzo Maffione Subject: git: fa3f6655421f - main - netmap: drop redundant if_mtu assignment List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vmaffione X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa3f6655421f734ee8a01102612dd2092970c001 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vmaffione: URL: https://cgit.FreeBSD.org/src/commit/?id=fa3f6655421f734ee8a01102612dd2092970c001 commit fa3f6655421f734ee8a01102612dd2092970c001 Author: Vincenzo Maffione AuthorDate: 2023-02-08 21:05:32 +0000 Commit: Vincenzo Maffione CommitDate: 2023-02-08 21:05:32 +0000 netmap: drop redundant if_mtu assignment Reported by: zlei MFC after 3 days --- sys/dev/netmap/netmap_freebsd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/netmap/netmap_freebsd.c b/sys/dev/netmap/netmap_freebsd.c index 0f7372e959bb..8c480f2fb092 100644 --- a/sys/dev/netmap/netmap_freebsd.c +++ b/sys/dev/netmap/netmap_freebsd.c @@ -620,7 +620,6 @@ nm_os_vi_persist(const char *name, struct ifnet **ret) return ENOMEM; } if_initname(ifp, name, IF_DUNIT_NONE); - ifp->if_mtu = 65536; ifp->if_flags = IFF_UP | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_init = (void *)nm_vi_dummy; ifp->if_ioctl = nm_vi_dummy;