On Wed, Feb 1, 2012 at 2:24 AM, Jan Engelhardt [off-list ref] wrote:
On Monday 2012-01-30 10:01, richard -rw- weinberger wrote:
quoted
On Sun, Jan 22, 2012 at 10:56 PM, Richard Weinberger [off-list ref] wrote:
quoted
ipt_LOG and ip6_LOG have a lot of common code, merge them
to reduce duplicate code.
Signed-off-by: Richard Weinberger <richard@nod.at>
No comments?
Adding Pablo to Cc.
Do you have the patchset as a retrievable git tree, btw?
Only for kernel stuff:
git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git xt_LOG
If you want it for the user space part too, I can setup something...
quoted
[PATCH 6/6] iptables: xt_LOG: Add ring buffer support
in libxt_LOG.c:
+.size = XT_ALIGN(sizeof(struct xt_log_info_v1) + sizeof(void *)),
Why the extra void*?
The kernel space part of xt_log_info_v1 differs from the user space struct,
it contains an extra pointer to the ring buffer context.
Iptables must not see this extra pointer because the kernel writes to it.
--
Thanks,
//richard