--- a/extensions/LUA/prot_buf_ip.c 2026-07-11 09:50:33.009347579 +0800 +++ b/extensions/LUA/prot_buf_ip.c 2026-07-11 09:50:40.939405421 +0800 @@ -17,6 +17,7 @@ */ #if defined(__KERNEL__) + #include #include #include #endif --- a/extensions/LUA/prot_buf_tcp.c 2026-07-11 09:50:33.009347579 +0800 +++ b/extensions/LUA/prot_buf_tcp.c 2026-07-11 09:50:40.939405421 +0800 @@ -17,6 +17,7 @@ */ #if defined(__KERNEL__) + #include #include #include #endif --- a/extensions/LUA/prot_buf_udp.c 2026-07-11 09:50:33.009347579 +0800 +++ b/extensions/LUA/prot_buf_udp.c 2026-07-11 09:50:40.939405421 +0800 @@ -17,6 +17,7 @@ */ #if defined(__KERNEL__) + #include #include #endif --- a/extensions/LUA/xt_LUA_target.c 2026-07-11 09:50:33.009347579 +0800 +++ b/extensions/LUA/xt_LUA_target.c 2026-07-11 09:50:40.939405421 +0800 @@ -136,7 +136,7 @@ int32_t ret; struct lua_env * env = kmalloc(sizeof(struct lua_env), GFP_KERNEL); - if (!script_size > 0) { + if (script_size <= 0) { pr_debug("LUA [%d]: script_size %lu < 0\n", state_id, script_size); return false; }