/[base]
ViewVC logotype

Revision 265232


Jump to revision: Previous Next
Author: asomers
Date: Fri May 2 16:24:09 2014 UTC (10 years, 2 months ago)
Changed paths: 1
Log Message:
Fix a panic caused by doing "ifconfig -am" while a lagg is being destroyed.
The thread that is destroying the lagg has already set sc->sc_psc=NULL when
the "ifconfig -am" thread gets to lacp_req().  It tries to dereference
sc->sc_psc and panics.  The solution is for lacp_req() to check the value of
sc->sc_psc.  If NULL, harmlessly return an lacp_opreq structure full of
zeros.  Full details in GNATS.

PR:		kern/189003
Reviewed by:	timeout on freebsd-net@
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corporation


Changed paths

Path Details
Directoryhead/sys/net/ieee8023ad_lacp.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27