Date: Fri, 16 Oct 2015 01:16:01 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289400 - head/sys/net Message-ID: <201510160116.t9G1G1eY016720@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510160116.t9G1G1eY016720>