diff options
author | bz <bz@FreeBSD.org> | 2016-07-06 10:29:29 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2016-07-06 10:29:29 +0000 |
commit | a1ab1fdac648b1bbc8ef66553998da79e6257cbd (patch) | |
tree | 2a0ec49520bd6b4bd19d729a5459dc42a437a87e /sys/dev/usb/controller/generic_ohci.c | |
parent | e666419b2ddaa6c85eda413049841f28871675c1 (diff) | |
download | FreeBSD-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