cxgb4vf: Update port information in cxgb4vf_open()
Subsystems (3)
PATCH 1/1 cxgb4vf: Update port information in cxgb4vf_open()
It's possible that the basic port information could have changed since we first read it.
Signed-off-by Arjun Vynipadath <[email protected]>
--- drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c +7 -0
@@ -855,6 +855,13 @@ static int cxgb4vf_open(struct net_device *dev)return err; } +/* It's possible that the basic port information could have +* changed since we first read it. +*/ + err =t4vf_update_port_info (pi); +if (err <0 ) +return err; +/* * Note that this interface is up and start everything up ... */
Signature · 1 line
2.9.5
From: Arjun Vynipadath <[email protected]>
Date: Tue, 29 Jan 2019 15:20:19 +0530
Quoted 4 lines
It's possible that the basic port information could have changed since we first read it.
Signed-off-by Arjun Vynipadath <[email protected]>
Applied, thanks.