From: Herbert Xu Date: Thu, 12 Mar 2015 23:52:14 +0000 (+1100) Subject: netfilter: Fix potential crash in nft_hash walker X-Git-Tag: omap-for-v4.2/o2_dc~268^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8bdff59cea141d2e5f7e98c1b11d3e0271640bd;p=pandora-kernel.git netfilter: Fix potential crash in nft_hash walker When we get back an EAGAIN from rhashtable_walk_next we were treating it as a valid object which obviously doesn't work too well. Luckily this is hard to trigger so it seems nobody has run into it yet. This patch fixes it by redoing the next call when we get an EAGAIN. Signed-off-by: Herbert Xu Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed