[lkml]   [2001]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 3C905b partial lockup in 2.4.5-pre5 and up to 2.4.6-pre1
"David S. Miller" wrote:
> Jeff Garzik writes:
> > > [note I've not found anything in 2.4.5 where netif_carrier_ok prevents
> > > the net layers queueing packets for an interface, and forwarding them
> > > on for transmission].
> >
> > we want netif_carrier_{on,off} to emit netlink messages. I don't know
> > how DaveM would feel about such getting implemented in 2.4.x though,
> > even if well tested.
> If someone sent me patches which did this (and minded the
> restrictions, if any, this adds to the execution contexts in
> which the carrier on/off stuff can be invoked) I would consider
> the patch seriously for 2.4.x

It'd need to be callable from interrupt context - otherwise
each device/driver which has link status change interrupts
will need to implement some form of interrupt->process context

On the DHCP/DNS issue which Ben raised - MII-based NICs can take up
to 3.5 seconds before they start sending packets, *after* their
open() has returned success. This is within the letter of the law
(ethernet can drop packets) but it'd be nicer to userspace if we
were to not return from the open until the interface was actually

Jamal has a patch somewhere which does the netlink status
notification. If he cares to share it I'll take a look.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:55    [W:0.078 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site