diff options
author | Annie Li <annie.li@oracle.com> | 2014-03-10 15:58:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-11 02:57:50 +0100 |
commit | 5bd076708664313f2bdbbc1cf71093313b7774a1 (patch) | |
tree | 916992d2ba92a45158462b7f665349071d9755ba /net/8021q | |
parent | pkt_sched: fq: do not hold qdisc lock while allocating memory (diff) | |
download | linux-5bd076708664313f2bdbbc1cf71093313b7774a1.tar.xz linux-5bd076708664313f2bdbbc1cf71093313b7774a1.zip |
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