[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071029125328.GA5453@gondor.apana.org.au>
Date: Mon, 29 Oct 2007 20:53:28 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Mitsuru Chinen <mitch@...ux.vnet.ibm.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Subject: Re: [UDP6]: Restore sk_filter optimisation
On Mon, Oct 29, 2007 at 03:33:20PM +0900, Mitsuru Chinen wrote:
> Hello Herbert,
>
> Let me ask a question about this patch.
> After this patch was applied, 2 of the protocol stack behaviors were
> changed when it receives a UDP datagram with broken checksum:
>
> 1. udp6InDatagrams is incremented instead of udpInErrors
> 2. In userland, recvfrom() replies an error with EAGAIN.
> recvfrom() wasn't aware of such a packet before.
>
> Are these changes intentional?
It wasn't my intention if that's what you mean :)
However, this would've happened with the old code anyway if
someone had a filter attached so this isn't new.
If it's a problem then we should just get it fixed.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists