Re: [PATCH] NET: xfrm, use correct rcu dereference helper

From: David Miller
Date: Sat Aug 18 2012 - 17:09:03 EST


From: Jiri Slaby <jslaby@xxxxxxx>
Date: Fri, 17 Aug 2012 15:38:36 +0200

> Use rcu_dereference_bh while holding bh rcu lock. Otherwise we get:
> ===============================
> [ INFO: suspicious RCU usage. ]
> 3.6.0-rc1-next-20120816+ #10 Not tainted
> -------------------------------
> net/xfrm/xfrm_policy.c:2504 suspicious rcu_dereference_check() usage!
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Cc: Priyanka Jain <Priyanka.Jain@xxxxxxxxxxxxx>

Should already be fixed in net-next for at least a whole day now.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/