Page MenuHomeFreeBSD

D38423.diff
No OneTemporary

D38423.diff

diff --git a/sys/dev/ice/ice_iflib_txrx.c b/sys/dev/ice/ice_iflib_txrx.c
--- a/sys/dev/ice/ice_iflib_txrx.c
+++ b/sys/dev/ice/ice_iflib_txrx.c
@@ -419,7 +419,7 @@
/* Included to match default iflib behavior */
/* Only go out on default queue if ALTQ is enabled */
struct ifnet *ifp = (struct ifnet *)iflib_get_ifp(sc->ctx);
- if (ALTQ_IS_ENABLED(&ifp->if_snd))
+ if (if_altq_is_enabled(ifp))
return (0);
#endif
diff --git a/sys/dev/ice/ice_lib.c b/sys/dev/ice/ice_lib.c
--- a/sys/dev/ice/ice_lib.c
+++ b/sys/dev/ice/ice_lib.c
@@ -7514,7 +7514,7 @@
int
ice_update_laa_mac(struct ice_softc *sc)
{
- const u8 *lladdr = (const u8 *)IF_LLADDR(sc->ifp);
+ const u8 *lladdr = (const u8 *)if_getlladdr(sc->ifp);
struct ice_hw *hw = &sc->hw;
enum ice_status status;

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 3:36 AM (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14709728
Default Alt Text
D38423.diff (779 B)

Event Timeline