From: luka Date: Tue, 10 May 2016 22:36:35 +0000 (+0000) Subject: xtables-addons: Fix Lua packet script implementation X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=78a764477337f8c062144d34f69b26d6dea72ec2;hp=78a764477337f8c062144d34f69b26d6dea72ec2 xtables-addons: Fix Lua packet script implementation lua_packet_segment parameter start has type char pointer; in function lua_tg it's assigned an uint16 value generating compiler warnings obviously indicating posssible seg fault problems. Fix the issue by using the correct skb functions so the parameter points to the position inside the sk_buff Signed-off-by: Hans Dedecker Signed-off-by: Stijn Cleynhens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49331 3c298f89-4303-0410-b956-a3cf2f4a3e73 ---