diff options
author | Rolf Neugebauer <rolf.neugebauer@docker.com> | 2017-01-17 18:13:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-04 08:47:09 (GMT) |
commit | 3eab5dd0eb19b6ebed8ef7e7477d9f3048cc78fa (patch) | |
tree | 122ceffcc209f9084a18d92ea92b3f4d97cd542b /drivers/reset/reset-berlin.c | |
parent | b260a714a638cabb72f3d386ecb66ec04e06fcce (diff) | |
download | linux-3eab5dd0eb19b6ebed8ef7e7477d9f3048cc78fa.tar.xz |
virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on xmit
[ Upstream commit 501db511397fd6efff3aa5b4e8de415b55559550 ]
This patch part reverts fd2a0437dc33 and e858fae2b0b8 which introduced a
subtle change in how the virtio_net flags are derived from the SKBs
ip_summed field.
With the above commits, the flags are set to VIRTIO_NET_HDR_F_DATA_VALID
when ip_summed == CHECKSUM_UNNECESSARY, thus treating it differently to
ip_summed == CHECKSUM_NONE, which should be the same.
Further, the virtio spec 1.0 / CS04 explicitly says that
VIRTIO_NET_HDR_F_DATA_VALID must not be set by the driver.
Fixes: fd2a0437dc33 ("virtio_net: introduce virtio_net_hdr_{from,to}_skb")
Fixes: e858fae2b0b8 (" virtio_net: use common code for virtio_net_hdr and skb GSO conversion")
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/reset/reset-berlin.c')
0 files changed, 0 insertions, 0 deletions