From: Jozsef Kadlecsik Date: Sun, 30 Nov 2014 18:56:53 +0000 (+0100) Subject: netfilter: ipset: Alignment problem between 64bit kernel 32bit userspace X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~99^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a51b9199b1e092da5ee4a89852e84b4c52ae6044;p=pandora-kernel.git netfilter: ipset: Alignment problem between 64bit kernel 32bit userspace Sven-Haegar Koch reported the issue: sims:~# iptables -A OUTPUT -m set --match-set testset src -j ACCEPT iptables: Invalid argument. Run `dmesg' for more information. In syslog: x_tables: ip_tables: set.3 match: invalid size 48 (kernel) != (user) 32 which was introduced by the counter extension in ipset. The patch fixes the alignment issue with introducing a new set match revision with the fixed underlying 'struct ip_set_counter_match' structure. Signed-off-by: Jozsef Kadlecsik Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed