Patch "ibmvnic: Set state UP" has been added to the 4.14-stable tree
This is a note to let you know that I've just added the patch titled
ibmvnic: Set state UP
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ibmvnic-set-state-up.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Wed Dec 20 18:17:52 CET 2017
From: Mick Tarsel <[email protected]>
Date: Thu, 28 Sep 2017 13:53:18 -0700
Subject: ibmvnic: Set state UP
From: Mick Tarsel <[email protected]>
[ Upstream commit e876a8a7e9dd89dc88c12ca2e81beb478dbe9897 ]
State is initially reported as UNKNOWN. Before register call netif_carrier_off(). Once the device is opened, call netif_carrier_on() in order to set the state to UP.
--- drivers/net/ethernet/ibm/ibmvnic.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/ibm/ibmvnic.c +2 -0
@@ -927,6 +927,7 @@ static int ibmvnic_open(struct net_devic } rc =__ibmvnic_open (netdev); +netif_carrier_on (netdev);mutex_unlock (&adapter->reset_lock);return rc;
@@ -3899,6 +3900,7 @@ static int ibmvnic_probe(struct vio_devif (rc) goto ibmvnic_init_fail; +netif_carrier_off (netdev); rc =register_netdev (netdev);if (rc) {dev_err (&dev->dev,"failed to register netdev rc=%d\n" , rc);
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/ibmvnic-set-state-up.patch