RE: Patch "net: phylink: set the autoneg state in phylink_phy_change" has been added to the 5.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Subject: Patch "net: phylink: set the autoneg state in phylink_phy_change" has
> been added to the 5.1-stable tree
> 
> 
> This is a note to let you know that I've just added the patch titled
> 
>     net: phylink: set the autoneg state in phylink_phy_change
> 
> to the 5.1-stable tree which can be found at:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git 
> 
> The filename of the patch is:
>      net-phylink-set-the-autoneg-state-in-phylink_phy_change.patch
> and it can be found in the queue-5.1 subdirectory.
> 
> If you, or anyone else, feels it should not be added to the stable tree, please let
> <stable@xxxxxxxxxxxxxxx> know about it.

Hi all,

Sorry for the late response but this patch should not be added to stables trees since it was already reverted in net-next.
More information can be found at: https://marc.info/?l=linux-netdev&m=156104162206869&w=2

Thanks,
Ioana

> 
> 
> From foo@baz Wed 19 Jun 2019 02:33:45 PM CEST
> From: Ioana Ciornei <ioana.ciornei@xxxxxxx>
> Date: Thu, 13 Jun 2019 09:37:51 +0300
> Subject: net: phylink: set the autoneg state in phylink_phy_change
> 
> From: Ioana Ciornei <ioana.ciornei@xxxxxxx>
> 
> [ Upstream commit ef7bfa84725d891bbdb88707ed55b2cbf94942bb ]
> 
> The phy_state field of phylink should carry only valid information especially
> when this can be passed to the .mac_config callback.
> Update the an_enabled field with the autoneg state in the phylink_phy_change
> function.
> 
> Fixes: 9525ae83959b ("phylink: add phylink infrastructure")
> Signed-off-by: Ioana Ciornei <ioana.ciornei@xxxxxxx>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> ---
>  drivers/net/phy/phylink.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- a/drivers/net/phy/phylink.c
> +++ b/drivers/net/phy/phylink.c
> @@ -638,6 +638,7 @@ static void phylink_phy_change(struct ph
>  		pl->phy_state.pause |= MLO_PAUSE_ASYM;
>  	pl->phy_state.interface = phydev->interface;
>  	pl->phy_state.link = up;
> +	pl->phy_state.an_enabled = phydev->autoneg;
>  	mutex_unlock(&pl->state_mutex);
> 
>  	phylink_run_resolve(pl);
> 
> 
> Patches currently in stable-queue which might be from ioana.ciornei@xxxxxxx
> are
> 
> queue-5.1/net-phylink-set-the-autoneg-state-in-phylink_phy_change.patch




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux