xtables-addons: Fix Lua packet script implementation
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 28 Apr 2016 09:18:56 +0000 (11:18 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 28 Apr 2016 09:45:43 +0000 (11:45 +0200)
commit312cb987f9612f1a649e51c1474b5c71b85e2666
treeb502fca14f6a5217e5b59bd334e4d85656a5aac8
parenteb529d26255a9a1fbeadfdaa3b5cdf47e43e4715
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>
package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch