Fix a panic when destroying a lagg interface.
Differential Revision: https://reviews.freebsd.org/D3883
This commit is contained in:
parent
cada39d8dd
commit
b7a581eaa6
@ -916,7 +916,8 @@ lagg_port_destroy(struct lagg_port *lp, int rundelport)
|
||||
* iflladdr_event.
|
||||
*/
|
||||
sc->sc_primary = lp0;
|
||||
lagg_port_lladdr(lp0, lladdr);
|
||||
if (lp0 != NULL)
|
||||
lagg_port_lladdr(lp0, lladdr);
|
||||
}
|
||||
|
||||
/* Remove any pending lladdr changes from the queue */
|
||||
|
Loading…
x
Reference in New Issue
Block a user