summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/generic_ohci.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2016-07-06 10:29:29 +0000
committerbz <bz@FreeBSD.org>2016-07-06 10:29:29 +0000
commita1ab1fdac648b1bbc8ef66553998da79e6257cbd (patch)
tree2a0ec49520bd6b4bd19d729a5459dc42a437a87e /sys/dev/usb/controller/generic_ohci.c
parente666419b2ddaa6c85eda413049841f28871675c1 (diff)
downloadFreeBSD-src-a1ab1fdac648b1bbc8ef66553998da79e6257cbd.zip
FreeBSD-src-a1ab1fdac648b1bbc8ef66553998da79e6257cbd.tar.gz
Only set the ipfilter running state to 'not running' if we are
doing the teardown. ipf_destroy_all() may free ipfmain in case of ipf_dynamic_softc being true, thus we are avoiding a possible memory modified after free as well. Reported by: Coverity Coverity CID: 1357320 Approved by: re (hrs) MFC after: 10 days
Diffstat (limited to 'sys/dev/usb/controller/generic_ohci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud