[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen-netfront: pull on receive skb may need to happen earlier
From: Wei Liu <wei.liu2@xxxxxxxxxx> Date: Fri, 5 Jul 2013 15:53:19 +0100 > You seem to be altering the behavior of the original code, because in > your patch the skb->len is incremented before use, while in the original > code (which calls skb_headlen in handle_incoming_packet) the skb->len is > correctly set. Indeed, I think you're right. Because __pskb_pull_tail() decrements the number of bytes pulled from skb->data_len, it won't be accounted for in skb->len _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |