1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-06 09:17:25 +00:00

Set the OACTIVE flag if vr_encap() fails.

This commit is contained in:
Bill Paul 2001-01-20 00:47:55 +00:00
parent b27e228ca9
commit db13b7118e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71275
2 changed files with 2 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}