From: Thomas Graf Date: Fri, 1 Aug 2014 15:25:38 +0000 (+0200) Subject: netfilter: nf_tables: Avoid duplicate call to nft_data_uninit() for same key X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dc1362562a2e8b82a6be8d3ae307a234f28f9bc;p=pandora-kernel.git netfilter: nf_tables: Avoid duplicate call to nft_data_uninit() for same key nft_del_setelem() currently calls nft_data_uninit() twice on the same key. Once to release the key which is guaranteed to be NFT_DATA_VALUE and a second time in the error path to which it falls through. The second call has been harmless so far though because the type passed is always NFT_DATA_VALUE which is currently a no-op. Signed-off-by: Thomas Graf Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed