[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100914.143115.124060138.davem@davemloft.net>
Date: Tue, 14 Sep 2010 14:31:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: simon@...uanux.org
Cc: netdev@...r.kernel.org, sguinot@...ie.com
Subject: Re: [PATCH] phylib: fix PAL state machine restart on resume
From: Simon Guinot <simon@...uanux.org>
Date: Tue, 14 Sep 2010 10:12:01 +0200
> From: Simon Guinot <sguinot@...ie.com>
>
> On resume, before starting the PAL state machine, check if the
> adjust_link() method is well supplied. If not, this would lead to a
> NULL pointer dereference in the phy_state_machine() function.
>
> This scenario can happen if the Ethernet driver call manually the PHY
> functions instead of using the PAL state machine. The mv643xx_eth driver
> is a such example.
>
> Signed-off-by: Simon Guinot <sguinot@...ie.com>
Applied, thanks.
--
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