mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
hyperv/hn: Re-set datapath after synthetic parts reattached.
Do this even for non-transparent mode VF. Better safe than sorry. MFC after: 3 days Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11981
This commit is contained in:
parent
c2d50b263f
commit
d0cd8231e0
1 changed files with 2 additions and 1 deletions
|
|
@ -3403,7 +3403,8 @@ hn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
|
|||
*/
|
||||
hn_resume(sc);
|
||||
|
||||
if (sc->hn_xvf_flags & HN_XVFFLAG_ENABLED) {
|
||||
if ((sc->hn_flags & HN_FLAG_RXVF) ||
|
||||
(sc->hn_xvf_flags & HN_XVFFLAG_ENABLED)) {
|
||||
/*
|
||||
* Since we have reattached the NVS part,
|
||||
* change the datapath to VF again; in case
|
||||
|
|
|
|||
Loading…
Reference in a new issue