struct qdio_buffer *buffer, int is_tso, int *next_element_to_fill,
int offset)
{
- int length = skb->len - offset;
+ int length = skb->len;
int length_here;
int element;
char *data;
if (offset >= 0) {
data = skb->data + offset;
+ length -= offset;
first_lap = 0;
}