[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080811.175154.168708843.davem@davemloft.net>
Date: Mon, 11 Aug 2008 17:51:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: rusty@...tcorp.com.au, anthony@...emonkey.ws,
netdev@...r.kernel.org
Subject: Re: csum offload and af_packet
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Tue, 12 Aug 2008 08:32:44 +0800
> On Mon, Aug 11, 2008 at 11:50:25PM +1000, Rusty Russell wrote:
> >
> > I think this is deeper than that. This case is actually unusual, in that the
> > packet really does arrive with a partial csum. But usually, we're exposing
> > an internal detail of our stack at this point. Seems like we shouldn't if we
> > know the user can't deal with it. dhcpd just makes this case less academic.
>
> I disagree. If you're using AF_PACKET you're asking to see the
> bare details. If you want to see the censored version you can
> always go through the IP stack.
Unfortunately the censored version doesn't allow you to get at the
link level headers, which is what at least some of these applications
want.
--
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