[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1178712808.7286.92.camel@localhost.localdomain>
Date: Wed, 09 May 2007 22:13:28 +1000
From: Rusty Russell <rusty@...tcorp.com.au>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
virtualization@...ts.osdl.org, ak@...e.de, jeff@...zik.org,
jmorris@...ei.org, netdev@...r.kernel.org
Subject: Re: [patch 7/9] lguest: the net driver
On Wed, 2007-05-09 at 22:00 +1000, Herbert Xu wrote:
> Hi Rusty:
>
> On Wed, May 09, 2007 at 09:55:25PM +1000, Rusty Russell wrote:
> >
> > NO_CSUM because it really doesn't need a checksum. The
> > LGUEST_NET_F_NOCSUM is only set for local inter-guest networking. If
> > some guest were to route the packets outside the machine, this would be
> > an issue, though ("don't do that").
>
> While I can see that this is good in keeping things simple, I think
> it's something that you want to be able to support since the user
> may wish to setup a guest as a firewall appliance which would involve
> passing packets from another guest to the outside world.
Indeed, you understand the tradeoff. The example launcher could have an
option not to set the LGUEST_NET_F_NOCSUM in this case.
That said, one significant purpose of lguest is to serve as an example
of how to do things. So if you feel really strongly that there's a
Right Way, we could look at the patch...
Thanks,
Rusty.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists