diff options
author | Casey Leedom <leedom@chelsio.com> | 2010-11-11 09:06:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-12 12:30:59 -0800 |
commit | b94e72e23e3ededa23cf18973ffc9a03c7ea8d04 (patch) | |
tree | 7fa382a69ea45cd828262cbdec0131da7dc345a3 /drivers/net/cxgb4vf | |
parent | 53c7886c189597ff3af3413ed4e87632853b6d51 (diff) | |
download | kernel_samsung_espresso10-b94e72e23e3ededa23cf18973ffc9a03c7ea8d04.zip kernel_samsung_espresso10-b94e72e23e3ededa23cf18973ffc9a03c7ea8d04.tar.gz kernel_samsung_espresso10-b94e72e23e3ededa23cf18973ffc9a03c7ea8d04.tar.bz2 |
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 'drivers/net/cxgb4vf')
-rw-r--r-- | drivers/net/cxgb4vf/sge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb4vf/sge.c b/drivers/net/cxgb4vf/sge.c index f10864d..6a6e18b 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. |