On Thu, Mar 08, 2018 at 05:01:26PM +0200, Serhey Popovych wrote:
> Eric Dumazet wrote:
> >
> >
> > On 03/08/2018 02:08 AM, Serhey Popovych wrote:
> >> We can't use skb_reset_transport_header() together with skb_put() to set
> >> skb->transport_header field because skb_put() does not touch
Eric Dumazet wrote:
>
>
> On 03/08/2018 07:01 AM, Serhey Popovych wrote:
>> Eric Dumazet wrote:
>>>
>>>
>>> On 03/08/2018 02:08 AM, Serhey Popovych wrote:
We can't use skb_reset_transport_header() together with skb_put() to
set
skb->transport_header field because skb_put() does
On 03/08/2018 07:01 AM, Serhey Popovych wrote:
Eric Dumazet wrote:
On 03/08/2018 02:08 AM, Serhey Popovych wrote:
We can't use skb_reset_transport_header() together with skb_put() to set
skb->transport_header field because skb_put() does not touch skb->data.
Do this same way as we did for
Eric Dumazet wrote:
>
>
> On 03/08/2018 02:08 AM, Serhey Popovych wrote:
>> We can't use skb_reset_transport_header() together with skb_put() to set
>> skb->transport_header field because skb_put() does not touch skb->data.
>>
>> Do this same way as we did for csum_data in code: substract
On 03/08/2018 02:08 AM, Serhey Popovych wrote:
We can't use skb_reset_transport_header() together with skb_put() to set
skb->transport_header field because skb_put() does not touch skb->data.
Do this same way as we did for csum_data in code: substract skb->head
from tcph.
Signed-off-by:
We can't use skb_reset_transport_header() together with skb_put() to set
skb->transport_header field because skb_put() does not touch skb->data.
Do this same way as we did for csum_data in code: substract skb->head
from tcph.
Signed-off-by: Serhey Popovych
---