Re: Non-linear SKBs

2007-10-13 Thread Kristian Evensen
Reading through my mail again, I see that I was a bit unclear. What I want to achieve is to share a frag between to skbs (where one has no earlier referance to it). Sorry. [EMAIL PROTECTED] wrote: If the underlying device can do scatter-gather and checksumming, the TCP code builds outgoing pac

Re: Non-linear SKBs

2007-10-12 Thread kristrev
> If the underlying device can do scatter-gather and checksumming, > the TCP code builds outgoing packets by copying user date into > full system pages, and then attaching those pages into the SKB. > The protocol headers sit under the skb->data linear area, and > the user data mostly sits in the u

Re: Non-linear SKBs

2007-10-11 Thread David Miller
From: Kristian Evensen <[EMAIL PROTECTED]> Date: Fri, 12 Oct 2007 00:54:37 +0200 > I have developed a small patch for the TCP code in 2.6.19 and it works > flawlessly. A couple of days ago I decided to make it compatible with > 2.6.22.5 and have stumbled upon a problem I cannot solve. > > In 2.