aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2016-12-16 22:39:30 +0000
committerAlan Somers <asomers@FreeBSD.org>2016-12-16 22:39:30 +0000
commitd9fa2d67eb5f7634ed70ced089a873d1e0f301bd (patch)
tree8523df994a166665fae72b5470f22779b9fca59f /release/scripts
parent5b3b877f8920576c5c789f21de81a518164e1038 (diff)
downloadsrc-d9fa2d67eb5f7634ed70ced089a873d1e0f301bd.tar.gz
src-d9fa2d67eb5f7634ed70ced089a873d1e0f301bd.zip
Fix panic during lagg destruction with simultaneous status check
If you run "ifconfig lagg0 destroy" and "ifconfig lagg0" at the same time a page fault may result. The first process will destroy ifp->if_lagg in lagg_clone_destroy (called by if_clone_destroy). Then the second process will observe that ifp->if_lagg is NULL at the top of lagg_port_ioctl and goto fallback: where it will promptly dereference ifp->if_lagg anyway. The solution is to repeat the NULL check for ifp->if_lagg MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8512
Notes
Notes: svn path=/head/; revision=310180
Diffstat (limited to 'release/scripts')
0 files changed, 0 insertions, 0 deletions