All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jianfeng.tan@linux.alibaba.com
Cc: netdev@vger.kernel.org, jasowang@redhat.com, mst@redhat.com
Subject: Re: [PATCH] net/packet: fix packet drop as of virtio gso
Date: Thu, 04 Oct 2018 22:23:42 -0700 (PDT)	[thread overview]
Message-ID: <20181004.222342.1782638085178743914.davem@davemloft.net> (raw)
In-Reply-To: <20180929154127.20867-1-jianfeng.tan@linux.alibaba.com>

From: Jianfeng Tan <jianfeng.tan@linux.alibaba.com>
Date: Sat, 29 Sep 2018 15:41:27 +0000

> When we use raw socket as the vhost backend, a packet from virito with
> gso offloading information, cannot be sent out in later validaton at
> xmit path, as we did not set correct skb->protocol which is further used
> for looking up the gso function.
> 
> To fix this, we set this field according to virito hdr information.
> 
> Fixes: e858fae2b0b8f4 ("virtio_net: use common code for virtio_net_hdr and skb GSO conversion")
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Jianfeng Tan <jianfeng.tan@linux.alibaba.com>

Applied and queued up for -stable.

  reply	other threads:[~2018-10-05 12:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-29 15:41 [PATCH] net/packet: fix packet drop as of virtio gso Jianfeng Tan
2018-10-05  5:23 ` David Miller [this message]
2018-10-08  3:14 ` Jason Wang
2018-10-27 23:42   ` Jianfeng Tan
2018-10-29  2:40     ` Jason Wang
2018-10-29  3:51       ` Jianfeng Tan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181004.222342.1782638085178743914.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jasowang@redhat.com \
    --cc=jianfeng.tan@linux.alibaba.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.