CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/03/21 12:11:18
Modified files:
sys/arch/sparc64/dev: vnet.c
Log message:
Make sure we reset all relevant state when resetting or stopping an interface.
Our reset function did not reset the ring and LDC map and our stop function
did not reset the LDC channel state and the some of the ring state. Also
make sure we clear IFF_OACTIVE whenever we re-establish a connection on the
LDC channel. Finally, initialize the link state to LINK_STATE_DOWN such
that interfaces that have not been configured yet, don't show up as active.
This should improve the reliability of re-establishing network connections
between domains after some sort of hickup considerably.