diff options
author | Annie Li <annie.li@oracle.com> | 2014-03-10 22:58:34 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-10 21:57:50 -0400 |
commit | 5bd076708664313f2bdbbc1cf71093313b7774a1 (patch) | |
tree | 916992d2ba92a45158462b7f665349071d9755ba /net/8021q | |
parent | 2818fa0fa068bcbc87d6bd9064e3c1f72d6fcc2a (diff) | |
download | linux-5bd076708664313f2bdbbc1cf71093313b7774a1.tar.bz2 |
Xen-netback: Fix issue caused by using gso_type wrongly
Current netback uses gso_type to check whether the skb contains
gso offload, and this is wrong. Gso_size is the right one to
check gso existence, and gso_type is only used to check gso type.
Some skbs contains nonzero gso_type and zero gso_size, current
netback would treat these skbs as gso and create wrong response
for this. This also causes ssh failure to domu from other server.
V2: use skb_is_gso function as Paul Durrant suggested
Signed-off-by: Annie Li <annie.li@oracle.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions