Displaying 9 results from an estimated 9 matches for "__tcp_transmit_skb".
2020 Feb 13
4
[PATCH] virtio: Work around frames incorrectly marked as gso
...o?
>
> The printk in virtio_net_hdr_from_skb says NULL.
>
> That is probably normal for a locally originated frame.
>
> I cannot reproduce this with network traffic by the way - it happens only if the traffic is locally originated on the host.
>
> A,
OK so is it code in __tcp_transmit_skb that sets gso_size to non-null
when gso_type is 0?
> >
> >
> > > --
> > > Anton R. Ivanov
> > > Cambridgegreys Limited. Registered in England. Company Number 10273661
> > > https://www.cambridgegreys.com/
> >
> >
> > _________...
2020 Feb 13
4
[PATCH] virtio: Work around frames incorrectly marked as gso
...o?
>
> The printk in virtio_net_hdr_from_skb says NULL.
>
> That is probably normal for a locally originated frame.
>
> I cannot reproduce this with network traffic by the way - it happens only if the traffic is locally originated on the host.
>
> A,
OK so is it code in __tcp_transmit_skb that sets gso_size to non-null
when gso_type is 0?
> >
> >
> > > --
> > > Anton R. Ivanov
> > > Cambridgegreys Limited. Registered in England. Company Number 10273661
> > > https://www.cambridgegreys.com/
> >
> >
> > _________...
2020 Feb 13
3
[PATCH] virtio: Work around frames incorrectly marked as gso
...;>
> >> That is probably normal for a locally originated frame.
> >>
> >> I cannot reproduce this with network traffic by the way - it happens only if the traffic is locally originated on the host.
> >>
> >> A,
> >
> > OK so is it code in __tcp_transmit_skb that sets gso_size to non-null
> > when gso_type is 0?
> >
>
> Correct way to determine if a packet is a gso one is by looking at gso_size.
> Then only it is legal looking at gso_type
>
>
> static inline bool skb_is_gso(const struct sk_buff *skb)
> {
> ret...
2020 Feb 13
3
[PATCH] virtio: Work around frames incorrectly marked as gso
...;>
> >> That is probably normal for a locally originated frame.
> >>
> >> I cannot reproduce this with network traffic by the way - it happens only if the traffic is locally originated on the host.
> >>
> >> A,
> >
> > OK so is it code in __tcp_transmit_skb that sets gso_size to non-null
> > when gso_type is 0?
> >
>
> Correct way to determine if a packet is a gso one is by looking at gso_size.
> Then only it is legal looking at gso_type
>
>
> static inline bool skb_is_gso(const struct sk_buff *skb)
> {
> ret...
2020 Feb 13
0
[PATCH] virtio: Work around frames incorrectly marked as gso
...tio_net_hdr_from_skb says NULL.
>>
>> That is probably normal for a locally originated frame.
>>
>> I cannot reproduce this with network traffic by the way - it happens only if the traffic is locally originated on the host.
>>
>> A,
>
> OK so is it code in __tcp_transmit_skb that sets gso_size to non-null
> when gso_type is 0?
>
Correct way to determine if a packet is a gso one is by looking at gso_size.
Then only it is legal looking at gso_type
static inline bool skb_is_gso(const struct sk_buff *skb)
{
return skb_shinfo(skb)->gso_size;
}
/* Note: Shou...
2020 Feb 13
0
[PATCH] virtio: Work around frames incorrectly marked as gso
...tio_net_hdr_from_skb says NULL.
>>
>> That is probably normal for a locally originated frame.
>>
>> I cannot reproduce this with network traffic by the way - it happens only if the traffic is locally originated on the host.
>>
>> A,
>
> OK so is it code in __tcp_transmit_skb that sets gso_size to non-null
> when gso_type is 0?
It does look like that, but I cannot see it when reading it :(
>
>
>>>
>>>
>>>> --
>>>> Anton R. Ivanov
>>>> Cambridgegreys Limited. Registered in England. Company Number 102736...
2020 Feb 13
0
[PATCH] virtio: Work around frames incorrectly marked as gso
...gt;>>> That is probably normal for a locally originated frame.
>>>>
>>>> I cannot reproduce this with network traffic by the way - it happens only if the traffic is locally originated on the host.
>>>>
>>>> A,
>>> OK so is it code in __tcp_transmit_skb that sets gso_size to non-null
>>> when gso_type is 0?
>>>
>> Correct way to determine if a packet is a gso one is by looking at gso_size.
>> Then only it is legal looking at gso_type
>>
>>
>> static inline bool skb_is_gso(const struct sk_buff *skb)
&...
2020 Feb 11
5
[PATCH] virtio: Work around frames incorrectly marked as gso
On Tue, Feb 11, 2020 at 07:42:37AM +0000, Anton Ivanov wrote:
> On 11/02/2020 02:51, Jason Wang wrote:
> >
> > On 2020/2/11 ??12:55, Anton Ivanov wrote:
> > >
> > >
> > > On 09/12/2019 10:48, anton.ivanov at cambridgegreys.com wrote:
> > > > From: Anton Ivanov <anton.ivanov at cambridgegreys.com>
> > > >
> > >
2020 Feb 11
5
[PATCH] virtio: Work around frames incorrectly marked as gso
On Tue, Feb 11, 2020 at 07:42:37AM +0000, Anton Ivanov wrote:
> On 11/02/2020 02:51, Jason Wang wrote:
> >
> > On 2020/2/11 ??12:55, Anton Ivanov wrote:
> > >
> > >
> > > On 09/12/2019 10:48, anton.ivanov at cambridgegreys.com wrote:
> > > > From: Anton Ivanov <anton.ivanov at cambridgegreys.com>
> > > >
> > >