diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-01-20 00:47:55 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-01-20 00:47:55 +0000 |
commit | d5548d1daf08ea1c99001353d96d69edf4ded585 (patch) | |
tree | 95522204a2cfa7b2f1dd6be542b121bad923eff2 /sys | |
parent | f0477994710c9f7a86ace701aaa8d45e4ee355e9 (diff) | |
download | FreeBSD-src-d5548d1daf08ea1c99001353d96d69edf4ded585.zip FreeBSD-src-d5548d1daf08ea1c99001353d96d69edf4ded585.tar.gz |
Set the OACTIVE flag if vr_encap() fails.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vr/if_vr.c | 1 | ||||
-rw-r--r-- | sys/pci/if_vr.c | 1 |
2 files changed, 2 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; } diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c index 662e7be..9e5ee21 100644 --- a/sys/pci/if_vr.c +++ b/sys/pci/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; } |