Date: Wed, 20 Jul 2016 22:32:19 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r303117 - stable/10/sys/dev/e1000 Message-ID: <201607202232.u6KMWJc1038843@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbruno Date: Wed Jul 20 22:32:19 2016 New Revision: 303117 URL: https://svnweb.freebsd.org/changeset/base/303117 Log: Fix lem(4) build after r303107 Submitted by: Jason Wolfe <j@nitrology.com> Modified: stable/10/sys/dev/e1000/if_lem.c Modified: stable/10/sys/dev/e1000/if_lem.c ============================================================================== --- stable/10/sys/dev/e1000/if_lem.c Wed Jul 20 22:28:26 2016 (r303116) +++ stable/10/sys/dev/e1000/if_lem.c Wed Jul 20 22:32:19 2016 (r303117) @@ -1047,7 +1047,7 @@ lem_ioctl(struct ifnet *ifp, u_long comm ifp->if_mtu = ifr->ifr_mtu; adapter->max_frame_size = ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN; - if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING)) + if (ifp->if_drv_flags & IFF_DRV_RUNNING) lem_init_locked(adapter); EM_CORE_UNLOCK(adapter); break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607202232.u6KMWJc1038843>