Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
--- 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 <linux/bitops.h>
|
|
#include <net/checksum.h>
|
|
#include <net/tcp.h>
|
|
#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 <linux/bitops.h>
|
|
#include <net/checksum.h>
|
|
#include <net/tcp.h>
|
|
#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 <linux/bitops.h>
|
|
#include <net/checksum.h>
|
|
#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;
|
|
}
|