cvs commit: src/sys/pci if_rl.c
John Baldwin
jhb at FreeBSD.org
Wed Sep 14 12:36:36 PDT 2005
On Wednesday 14 September 2005 08:33 am, Ruslan Ermilov wrote:
> ru 2005-09-14 12:33:23 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/pci if_rl.c
> Log:
> Fixed "Memory modified after free" panic in rl_detach() due
> to rl_stop() accessing already freed "struct ifnet".
>
> Fixed LOR between rl mutex and some ACPI mutex in rl_detach().
Very close to the patch I had. :) Note that you can remove the 'attached'
variable now since it is only used once and just use 'device_is_attached()'
inline in the if-statement like other drivers.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list