cvs commit: src/sys/dev/em if_em.c

Attilio Rao attilio at freebsd.org
Mon Nov 26 11:50:36 PST 2007


2007/11/26, Jack F Vogel <jfv at freebsd.org>:
> jfv         2007-11-26 19:47:03 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/dev/em           if_em.c
>   Log:
>   Fix for a reported panic in certain circumstances. When
>   calling em_stop() now make sure the TX lock is held as
>   well as CORE.

Thanks!

To make it more explicit, callout_stop() needs to run always with
referred lock held in order to not have a race for when running the
callout handler. Now both callout_stop() are covert.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the cvs-all mailing list