Date: Fri, 4 Sep 2020 13:17:55 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r365329 - stable/12/sys/dev/qlxgb Message-ID: <202009041317.084DHtP7010736@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Fri Sep 4 13:17:55 2020 New Revision: 365329 URL: https://svnweb.freebsd.org/changeset/base/365329 Log: MFC r365060: qlxgb: Initialize if_mtu before setting max_frame_size. PR: 249050 Modified: stable/12/sys/dev/qlxgb/qla_os.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/qlxgb/qla_os.c ============================================================================== --- stable/12/sys/dev/qlxgb/qla_os.c Fri Sep 4 13:05:00 2020 (r365328) +++ stable/12/sys/dev/qlxgb/qla_os.c Fri Sep 4 13:17:55 2020 (r365329) @@ -672,6 +672,7 @@ qla_init_ifnet(device_t dev, qla_host_t *ha) if_initname(ifp, device_get_name(dev), device_get_unit(dev)); + ifp->if_mtu = ETHERMTU; ifp->if_baudrate = IF_Gbps(10); ifp->if_init = qla_init; ifp->if_softc = ha;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009041317.084DHtP7010736>