Re: [PATCH 1/2] igb: fix rtnl race in PM resume path

From: Jeff Kirsher
Date: Thu Apr 05 2012 - 19:02:45 EST


On Thu, 2012-04-05 at 11:11 -0400, Benjamin Poirier wrote:
> Since the caller (PM resume code) is not the one holding rtnl, when
> taking the
> 'else' branch rtnl may be released at any moment, thereby defeating
> the whole
> purpose of this code block.
>
> Signed-off-by: Benjamin Poirier <bpoirier@xxxxxxx>
> ---
> drivers/net/ethernet/intel/igb/igb_main.c | 20 ++++++--------------
> 1 files changed, 6 insertions(+), 14 deletions(-)

Thanks Benjamin, I will add the patch to my igb queue of patches.

Attachment: signature.asc
Description: This is a digitally signed message part