[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150312.230532.1927015442497329615.davem@davemloft.net>
Date: Thu, 12 Mar 2015 23:05:32 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: tgraf@...g.ch, netdev@...r.kernel.org, kaber@...sh.net
Subject: Re: netfilter: Fix potential crash in nft_hash walker
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Fri, 13 Mar 2015 10:52:14 +1100
> 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 <herbert@...dor.apana.org.au>
Pablo, you got this one?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists