diff options
author | asomers <asomers@FreeBSD.org> | 2014-05-02 16:24:09 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2014-05-02 16:24:09 +0000 |
commit | cf37d83a59b911608b67e36f436f65cc1400c2fb (patch) | |
tree | e96782f9496450cfc38b31451f13eaa47e2b2cc4 /sys/i386/conf | |
parent | fe39a82f7dee4ecb131650441b78922f154b21aa (diff) | |
download | FreeBSD-src-cf37d83a59b911608b67e36f436f65cc1400c2fb.zip FreeBSD-src-cf37d83a59b911608b67e36f436f65cc1400c2fb.tar.gz |
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
Diffstat (limited to 'sys/i386/conf')
0 files changed, 0 insertions, 0 deletions