Skip to content

Commit b94e72e

Browse files
Casey Leedomdavem330
authored andcommitted
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]>
1 parent 53c7886 commit b94e72e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/cxgb4vf/sge.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,6 +1679,7 @@ int process_responses(struct sge_rspq *rspq, int budget)
16791679
}
16801680
len = RSPD_LEN(len);
16811681
}
1682+
gl.tot_len = len;
16821683

16831684
/*
16841685
* Gather packet fragments.

0 commit comments

Comments
 (0)