netdev
[Top] [All Lists]

Re: [patch 4/10] s390: network driver.

To: Paul Jakma <paul@xxxxxxxx>
Subject: Re: [patch 4/10] s390: network driver.
From: Thomas Spatzier <thomas.spatzier@xxxxxxxxxx>
Date: Mon, 29 Nov 2004 17:41:42 +0100
Cc: jgarzik@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0411291602330.18143@hibernia.jakma.org>
Sender: netdev-bounce@xxxxxxxxxxx



Paul Jakma <paul@xxxxxxxx> wrote on 29.11.2004 17:30:23:
> Well, if the kernel is going to queue these packets without notifying
> us, we absolutely *must* have some way to flush those queues. Sending
> stale packets many minutes after the application generated them could
> have serious consequences for routing (eg, think sending RIP, IPv4
> IRDP or v6 RAs which are no longer valid - client receives them and
> installs routes which are long invalid and loses connectivity to some
> part of the network).
>

Yes, for the examples you mentioned the app should better be notified.
However, AFAICS, there are no such notification mechanisms on a
per-packet basis implemented in the kernel.
And I doubt that they are going to be implemented.

> I'd be very interested to hear advice from the kernel gurus (eg "god,
> dont be so stupid, do xyz in your application instead"). We can
> accomodate whatever kernel wants as long as its workable.

Good suggestion, if anyone has an interesting and feasible solution
I will be happy to integrate it. So far, however, it don't see one and I
would point people being worried about lost packets to TCP.


Regards,
Thomas.


<Prev in Thread] Current Thread [Next in Thread>