VirtualBox

Ignore:
Timestamp:
Apr 6, 2022 5:05:49 PM (3 years ago)
Author:
vboxsync
Message:

Linux: Host Drivers: VBoxNetFlt: Initial support for kernel 5.18-rc1, bugref:10209.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r94389 r94501  
    23122312                Log6(("vboxNetFltPortOsXmit: pBuf->cb dump:\n%.*Rhxd\n", sizeof(pBuf->cb), pBuf->cb));
    23132313                Log6(("vboxNetFltPortOsXmit: netif_rx_ni(%p)\n", pBuf));
     2314#if RTLNX_VER_MIN(5,18,0)
     2315                local_bh_disable();
     2316                err = netif_rx(pBuf);
     2317                local_bh_enable();
     2318#else
    23142319                err = netif_rx_ni(pBuf);
     2320#endif
    23152321                if (err)
    23162322                    rc = RTErrConvertFromErrno(err);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette