xtables-addons: Fix Lua packet script implementation
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 May 2016 22:36:35 +0000 (22:36 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 May 2016 22:36:35 +0000 (22:36 +0000)
commit78a764477337f8c062144d34f69b26d6dea72ec2
tree0cb5e1681a70af322f029b7a22cac9a655f597a2
parentd5a8b0440233772a940b1bc4d3f3216babdad941
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 <dedeckeh@gmail.com>
Signed-off-by: Stijn Cleynhens <stijn.cleynhens@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49331 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch