Re: is it useful testing __LINK_STATE_RX_SCHED in dev_close()?

From: David Miller
Date: Tue Nov 20 2007 - 05:42:36 EST


From: <wyb@xxxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 18:26:26 +0800

> cpu0 calling netif_rx_schedule_prep(), cpu1 calling dev_close():
>
> cpu0: testing __LINK_STATE_START, already set
> cpu1: clear__LINK_STATE_START
> cpu1: testing __LINK_STATE_RX_SCHED, not set
> cpu0: set __LINK_STATE_RX_SCHED
> cpu0: enter net poll, ...
>
> when cpu1 return from dev_close(),__LINK_STATE_RX_SCHED is still set.

You'll have better luck asking networking questions on
netdev@xxxxxxxxxxxxxxx as that is the mailing list where
the kernel networking developers are subscribed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/