aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJianfeng Tan <jianfeng.tan@linux.alibaba.com>2018-09-29 15:41:27 +0000
committerDavid S. Miller <davem@davemloft.net>2018-10-04 22:23:15 -0700
commit9d2f67e43b73e8af7438be219b66a5de0cfa8bd9 (patch)
tree015f9d003d764dbb4aea0fde8d2ea6c01eafd577 /scripts
parentnet: dsa: b53: Keep CPU port as tagged in all VLANs (diff)
downloadlinux-dev-9d2f67e43b73e8af7438be219b66a5de0cfa8bd9.tar.xz
linux-dev-9d2f67e43b73e8af7438be219b66a5de0cfa8bd9.zip
net/packet: fix packet drop as of virtio gso
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") Signed-off-by: Jianfeng Tan <jianfeng.tan@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions