summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2009-11-02 18:35:05 +0000
committeryongari <yongari@FreeBSD.org>2009-11-02 18:35:05 +0000
commitb503f1efef0b36293cc89d300ddcc25679f1c9bc (patch)
tree3cc1f37720349b2a20ba22eb1db928a6a80743c4 /sys/compat
parent634b156082d6489ae8f8d8e66823c0e621552254 (diff)
downloadFreeBSD-src-b503f1efef0b36293cc89d300ddcc25679f1c9bc.zip
FreeBSD-src-b503f1efef0b36293cc89d300ddcc25679f1c9bc.tar.gz
Add a check to know whether driver is still running after
reacquiring driver lock in Rx handler. re(4) drops a driver lock before passing received frame to upper stack and reacquire the lock. During the time window ioctl calls could be executed and if the ioctl was interface down request, driver will stop the controller and free allocated mbufs. After that when driver comes back to Rx handler again it does not know what was happend so it could access free mbufs which in turn cause panic. Reported by: Norbert Papke < npapk <> acm dot org > Tested by: Norbert Papke < npapk <> acm dot org >
Diffstat (limited to 'sys/compat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud