lkml.org 
[lkml]   [2001]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problems with corruption sending packets from a module
On Tue, Aug 21, 2001 at 02:57:08AM +0400, Alexey Kuznetsov wrote:
> Hello!
>
> > In case someone is reading the archives and has a similar problem, this
> > appears to be the cause of the trouble. If I do
> > skb->data += sizeof(struct ethhdr);
> > then it's fine.
>
> It is not fine at all... You are not allowed to change skb->data,
> skb->len etc.

Sorry, yes, I meant "it works" which isn't quite the same thing :-)


Ian, struggling against a lack of decent documentation but slowly
getting there, I think!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.030 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site