Skip to content

Commit d762acd

Browse files
author
David S. Miller
committed
[SPARC64]: Fix reset handling in VNET driver.
In vnet_event(), if the channel was reset, try to get the link going again by invoking vio_port_up() after dropping the lock. Signed-off-by: David S. Miller <[email protected]>
1 parent a4cd184 commit d762acd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/sunvnet.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,8 @@ static void vnet_event(void *arg, int event)
498498
vio_link_state_change(vio, event);
499499
spin_unlock_irqrestore(&vio->lock, flags);
500500

501+
if (event == LDC_EVENT_RESET)
502+
vio_port_up(vio);
501503
return;
502504
}
503505

0 commit comments

Comments
 (0)