From: Pablo Neira Ayuso Date: Fri, 27 Dec 2013 23:59:38 +0000 (+0100) Subject: netfilter: nf_tables: fix wrong datatype in nft_validate_data_load() X-Git-Tag: v3.13-rc7~13^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee0d3c80fdb7974cfa1c7e25b5048e9fcaf69b6;p=pandora-kernel.git netfilter: nf_tables: fix wrong datatype in nft_validate_data_load() This patch fixes dictionary mappings, eg. add rule ip filter input meta dnat set tcp dport map { 22 => 1.1.1.1, 23 => 2.2.2.2 } The kernel was returning -EINVAL in nft_validate_data_load() since the type of the set element data that is passed was the real userspace datatype instead of NFT_DATA_VALUE. Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed