Author: hrs Date: Fri Oct 16 01:16:01 2015 New Revision: 289400 URL: https://svnweb.freebsd.org/changeset/base/289400
Log: Fix a panic when destroying a lagg interface. Differential Revision: https://reviews.freebsd.org/D3883 Modified: head/sys/net/if_lagg.c Modified: head/sys/net/if_lagg.c ============================================================================== --- head/sys/net/if_lagg.c Fri Oct 16 00:38:05 2015 (r289399) +++ head/sys/net/if_lagg.c Fri Oct 16 01:16:01 2015 (r289400) @@ -916,7 +916,8 @@ lagg_port_destroy(struct lagg_port *lp, * 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 */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"