Date: Wed, 8 Feb 2023 21:07:57 GMT From: Vincenzo Maffione <vmaffione@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: fa3f6655421f - main - netmap: drop redundant if_mtu assignment Message-ID: <202302082107.318L7vBP068394@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by vmaffione: URL: https://cgit.FreeBSD.org/src/commit/?id=fa3f6655421f734ee8a01102612dd2092970c001 commit fa3f6655421f734ee8a01102612dd2092970c001 Author: Vincenzo Maffione <vmaffione@FreeBSD.org> AuthorDate: 2023-02-08 21:05:32 +0000 Commit: Vincenzo Maffione <vmaffione@FreeBSD.org> 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302082107.318L7vBP068394>