xtables-addons: Fix Lua packet script implementation
authorLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:35 +0000 (22:36 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:35 +0000 (22:36 +0000)
commit0f2fc313079fff15de2eadbd0fdcbee8320072f2
treed5aa7d5bc81db49da47f62629c147f9fbd61d1dd
parent44cbcf4861183b8691b4922a67c32a1ddd6084c5
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>
SVN-Revision: 49331
package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch