xtables-addons: build against 3.8.y
PATCH 1/1 xtables-addons: build against 3.8.y
Hi Jan,
I see that xtables-addons 1.47.1 do not build against kernel 3.8.2, because of ipv6_find_hdr() having moved to <net/ipv6.h>. And this include is missing from xt_SYSREQ.c:
extensions/xt_SYSRQ.c: In function 'sysrq_tg6':extensions/xt_SYSRQ.c:251: xt_SYSRQ.c:251: error: implicit declaration \
of function 'ipv6_find_ hdr'
The attached patch fixes that.
Please check.
/Holger
xt_SYSRQ: include <net/ipv6.h>
ipv6_find_hdr() has moved to <net/ipv6.h> since kernel v3.8. It is necessary to include this header as well.
extensions/xt_SYSRQ.c +1 -0
@@ -24,6 +24,7 @@#include <linux/crypto.h> #include <linux/scatterlist.h> #include <net/ip.h> +#include <net/ipv6.h> #include "compat_xtables.h" #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19) && \
Quoted 5 lines · Holger Eitzenberger
Hi Jan,
I see that xtables-addons 1.47.1 do not build against kernel 3.8.2, because of
ipv6_find_hdr()having moved to <net/ipv6.h>. And this include is missing fromxt_SYSREQ.c:
Support for 3.8 is available in xt-a 2.1.