Skip to content

Instantly share code, notes, and snippets.

@bartku
Last active November 18, 2022 10:35
Show Gist options
  • Save bartku/50140a9022ea287361aed88b16666c43 to your computer and use it in GitHub Desktop.
Save bartku/50140a9022ea287361aed88b16666c43 to your computer and use it in GitHub Desktop.
vbox7 rhel9 netif_rx patch
https://www.virtualbox.org/download/testcase/VirtualBox-7.0-7.0.3_154539_el9-1.x86_64.rpm
--- /usr/share/virtualbox/src/vboxhost/vboxnetflt/linux/VBoxNetFlt-linux.c 2022-11-18 11:24:49.415496734 +0100
+++ /root/VBoxNetFlt-linux.c 2022-11-18 11:22:53.256560555 +0100
@@ -2318,7 +2318,7 @@
vboxNetFltDumpPacket(pSG, true, "host", (fDst & INTNETTRUNKDIR_WIRE) ? 0 : 1);
Log6(("vboxNetFltPortOsXmit: pBuf->cb dump:\n%.*Rhxd\n", sizeof(pBuf->cb), pBuf->cb));
Log6(("vboxNetFltPortOsXmit: netif_rx_ni(%p)\n", pBuf));
-#if RTLNX_VER_MIN(5,18,0) || RTLNX_RHEL_MIN(9,1)
+#if RTLNX_VER_MIN(5,18,0) || RTLNX_RHEL_MIN(9,2)
local_bh_disable();
err = netif_rx(pBuf);
local_bh_enable();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment