winws2: optimize bulk buffer size

This commit is contained in:
bol-van
2026-01-31 17:14:00 +03:00
parent b920964ab3
commit a531da39fd
+1 -1
View File
@@ -660,7 +660,7 @@ exiterr:
#define WINDIVERT_BULK_MAX 128
// do not make it less than 65536 - loopback packets can be up to 64K
#define WINDIVERT_PACKET_BUF_SIZE 3*196608 // 3*64K, 128*1500=192000
#define WINDIVERT_PACKET_BUF_SIZE 196608 // 3*64K, 128*1500=192000
static int win_main()
{