* Xen netfront fixes for changed skbuff in net-2.6.22.git
@ 2007-03-28 18:36 Jeremy Fitzhardinge
2007-03-28 21:46 ` Herbert Xu
0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-28 18:36 UTC (permalink / raw)
To: Herbert Xu; +Cc: Xen-devel, NetDev, Chris Wright
Hi Herbert,
I wonder if you've got a chance to look at netfront in light of the new
stuff in davem's network tree (the stuff that's in
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.22.git).
In particular, struct sk_buff has been changed so that "nh" has gone,
and the replacement can be just an offset rather than a full pointer.
This breaks the netfront because it tries to stash a page * in nh.raw.
I had a quick look at it and couldn't see an easy fix, but I don't
really understand what's going on in there.
But you do. Any chance you could have a look at it, and at least give
me some pointers about how to proceed?
Thanks,
J
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Xen netfront fixes for changed skbuff in net-2.6.22.git
2007-03-28 18:36 Xen netfront fixes for changed skbuff in net-2.6.22.git Jeremy Fitzhardinge
@ 2007-03-28 21:46 ` Herbert Xu
2007-03-28 21:55 ` [Xen-devel] " Jeremy Fitzhardinge
0 siblings, 1 reply; 4+ messages in thread
From: Herbert Xu @ 2007-03-28 21:46 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: Xen-devel, NetDev, Chris Wright
Hi Jeremy:
On Wed, Mar 28, 2007 at 11:36:17AM -0700, Jeremy Fitzhardinge wrote:
>
> I wonder if you've got a chance to look at netfront in light of the new
> stuff in davem's network tree (the stuff that's in
> http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.22.git).
I've had a look at now and you can just stuff it into one of the other
pointers that's still there. We just need to make sure that it is
reset properly before we feed the packet into the stack. The pointer
skb->dev is one candidate but there are plenty of others.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Xen-devel] Re: Xen netfront fixes for changed skbuff in net-2.6.22.git
2007-03-28 21:46 ` Herbert Xu
@ 2007-03-28 21:55 ` Jeremy Fitzhardinge
2007-03-28 22:10 ` Herbert Xu
0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-28 21:55 UTC (permalink / raw)
To: Herbert Xu; +Cc: Chris Wright, NetDev, Xen-devel
Herbert Xu wrote:
> I've had a look at now and you can just stuff it into one of the other
> pointers that's still there. We just need to make sure that it is
> reset properly before we feed the packet into the stack. The pointer
> skb->dev is one candidate but there are plenty of others.
>
Hm, I was wondering if there's a nicer way of getting the same result.
Does it need to be done that way?
Thanks,
J
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-03-28 22:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-28 18:36 Xen netfront fixes for changed skbuff in net-2.6.22.git Jeremy Fitzhardinge
2007-03-28 21:46 ` Herbert Xu
2007-03-28 21:55 ` [Xen-devel] " Jeremy Fitzhardinge
2007-03-28 22:10 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).