summaryrefslogtreecommitdiffstats
path: root/sys/dev/vr
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-01-20 00:47:55 +0000
committerwpaul <wpaul@FreeBSD.org>2001-01-20 00:47:55 +0000
commitd5548d1daf08ea1c99001353d96d69edf4ded585 (patch)
tree95522204a2cfa7b2f1dd6be542b121bad923eff2 /sys/dev/vr
parentf0477994710c9f7a86ace701aaa8d45e4ee355e9 (diff)
downloadFreeBSD-src-d5548d1daf08ea1c99001353d96d69edf4ded585.zip
FreeBSD-src-d5548d1daf08ea1c99001353d96d69edf4ded585.tar.gz
Set the OACTIVE flag if vr_encap() fails.
Diffstat (limited to 'sys/dev/vr')
-rw-r--r--sys/dev/vr/if_vr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c
index 662e7be..9e5ee21 100644
--- a/sys/dev/vr/if_vr.c
+++ b/sys/dev/vr/if_vr.c
@@ -1348,6 +1348,7 @@ static void vr_start(ifp)
/* Pack the data into the descriptor. */
if (vr_encap(sc, cur_tx, m_head)) {
IF_PREPEND(&ifp->if_snd, m_head);
+ ifp->if_flags |= IFF_OACTIVE;
cur_tx = NULL;
break;
}
OpenPOWER on IntegriCloud