Browse Source

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>
Casey Leedom 14 years ago
parent
commit
b94e72e23e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/cxgb4vf/sge.c

+ 1 - 0
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.