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:
parent
b27e228ca9
commit
db13b7118e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71275
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user