summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4vf/sge.c
diff options
context:
space:
mode:
authorCasey Leedom <leedom@chelsio.com>2010-11-11 10:06:49 +0100
committerDavid S. Miller <davem@davemloft.net>2010-11-12 21:30:59 +0100
commitb94e72e23e3ededa23cf18973ffc9a03c7ea8d04 (patch)
tree7fa382a69ea45cd828262cbdec0131da7dc345a3 /drivers/net/cxgb4vf/sge.c
parentcxgb4vf: don't implement trivial (and incorrect) ndo_select_queue() (diff)
downloadlinux-b94e72e23e3ededa23cf18973ffc9a03c7ea8d04.tar.xz
linux-b94e72e23e3ededa23cf18973ffc9a03c7ea8d04.zip
cxgb4vf: fix bug in Generic Receive Offload
Fix botch in Generic Receive Offload (the Packet Gather List Total length field wasn't being initialized). Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/cxgb4vf/sge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb4vf/sge.c b/drivers/net/cxgb4vf/sge.c
index f10864ddafbe..6a6e18b07248 100644
--- a/drivers/net/cxgb4vf/sge.c
+++ b/drivers/net/cxgb4vf/sge.c
@@ -1679,6 +1679,7 @@ int process_responses(struct sge_rspq *rspq, int budget)
}
len = RSPD_LEN(len);
}
+ gl.tot_len = len;
/*
* Gather packet fragments.