diff options
author | Casey Leedom <[email protected]> | 2010-11-11 09:06:49 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-11-12 12:30:59 -0800 |
commit | b94e72e23e3ededa23cf18973ffc9a03c7ea8d04 (patch) | |
tree | 7fa382a69ea45cd828262cbdec0131da7dc345a3 | |
parent | 53c7886c189597ff3af3413ed4e87632853b6d51 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
-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 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. |