Date: Mon, 2 Nov 2009 18:35:05 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200911021835.nA2IZJOY088577@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-11-02 18:35:05 UTC
FreeBSD src repository
Modified files:
sys/dev/re if_re.c
Log:
SVN rev 198814 on 2009-11-02 18:35:05Z by yongari
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 >
Revision Changes Path
1.162 +2 -0 src/sys/dev/re/if_re.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911021835.nA2IZJOY088577>
