The first fix is a pointer comparison fix, and the second is not to
override the Linux kernel's TARGET_LDFLAGS with those that we use
during cross-compiling.
SVN-Revision: 32958
PKG_NAME:=xtables-addons
PKG_VERSION:=1.42
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_MD5SUM:=7c996a0400667b57ab4fb53a013ae742
CROSS_COMPILE="$(TARGET_CROSS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
DEPMOD="/bin/true" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
all
endef
CROSS_COMPILE="$(TARGET_CROSS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
DEPMOD="/bin/true" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
install
endef
+ else if (pskb->transport_header)
+ p->start = pskb->transport_header;
+ p->offset = 0;
-+ p->length = pskb->tail - p->start;
++ p->length = (unsigned long)pskb->tail - (unsigned long)p->start;
+ p->changes = NULL;
+
+ /* marking userdata 'lua_packet_seg' with the corresponding metatable */