Re: Fun splitting reassembled UDP skbuffs

2007-03-04 Thread David Miller
From: David Howells <[EMAIL PROTECTED]> Date: Sun, 04 Mar 2007 14:53:35 + > Is it possible to mix the likes of skb_clone(), pskb_pull() and pskb_trim()? It should work, pskb_pull() and pskb_trim() check for cloning and COW the data area as-needed. I think you just have a refcounting error so

Fun splitting reassembled UDP skbuffs

2007-03-04 Thread David Howells
Hi Dave, Is it possible to mix the likes of skb_clone(), pskb_pull() and pskb_trim()? I've tried to do this and I seem to end up with skb refcounting errors amongst other things. As it happens, the UDP packet was fragmented, and so the skbuff I've got is non-linear. The problem I've got to dea