diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-10-25 03:55:56 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-10-25 03:55:56 +0000 |
| commit | 1648616981ad00457c943269f99d8a7f6d58c560 (patch) | |
| tree | 3253e356c4556105cdb5df66903114e6aa6775d6 /sys/dev/bxe | |
| parent | 7888d6422d916370f09e2b9e4474a880f780c65b (diff) | |
Notes
Diffstat (limited to 'sys/dev/bxe')
| -rw-r--r-- | sys/dev/bxe/bxe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c index c5daac58da56..98978da9a53f 100644 --- a/sys/dev/bxe/bxe.c +++ b/sys/dev/bxe/bxe.c @@ -5603,7 +5603,7 @@ bxe_tx_start(if_t ifp) fp = &sc->fp[0]; - if (ifp->if_drv_flags & IFF_DRV_OACTIVE) { + if (if_getdrvflags(ifp) & IFF_DRV_OACTIVE) { fp->eth_q_stats.tx_queue_full_return++; return; } @@ -5643,7 +5643,7 @@ bxe_tx_mq_start_locked(struct bxe_softc *sc, } } - if (!sc->link_vars.link_up || !(ifp->if_drv_flags & IFF_DRV_RUNNING)) { + if (!sc->link_vars.link_up || !(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { fp->eth_q_stats.tx_request_link_down_failures++; goto bxe_tx_mq_start_locked_exit; } |
