Re: [ovs-discuss] skb_push

2013-03-05 Thread Jesse Gross
On Tue, Mar 5, 2013 at 5:43 AM, Igor Ryzhov wrote: > Hello. > > skb_push function extends the used data area of the buffer at the buffer > start. > > It substracts skb->data by len - this is right, because we extends data > space at the start. But why this function adds skb->len by len, not > skb-

[ovs-discuss] skb_push

2013-03-05 Thread Igor Ryzhov
Hello. skb_push function extends the used data area of the buffer at the buffer start. It substracts skb->data by len - this is right, because we extends data space at the start. But why this function adds skb->len by len, not skb->data_len? I think that total size of our buffer is the same - he