On Sat, May 16, 2015 at 08:50:51PM +0200, Pablo Neira Ayuso wrote: > From: Patrick McHardy <kaber@xxxxxxxxx> > > [ upstream commit 16c45eda96038aae848b6cfd42e2bf4b5e80f365 ] > > Fix a race condition and unnecessary locking: > > * the root rb_node must only be accessed under the lock in nft_rbtree_lookup() > * the lock is not needed in lookup functions in netlink context > > Cc: <stable@xxxxxxxxxxxxxxx> # 3.18.x > Cc: <stable@xxxxxxxxxxxxxxx> # 3.19.x > Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx> > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> > --- > net/netfilter/nft_rbtree.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) Also 4.0, right? This showed up in Linus's tree in 4.1-rc1. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html