mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2026-05-13 22:19:45 +02:00
65eeb7f1f6
The subnet list may become really large (United States: ~15000 entries), which means a use of roughly 120 KB, and kmalloc may fail to find a contiguous block in physical memory. Virtual contiguity is enough, so use vmalloc/vfree. vfree may not be called within a spin_lock_bh area, so release the lock first, it is safe to do so.