cxgb4vf: fix bug in Generic Receive Offload
authorCasey Leedom <leedom@chelsio.com>
Thu, 11 Nov 2010 09:06:49 +0000 (09:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Nov 2010 20:30:59 +0000 (12:30 -0800)
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>
drivers/net/cxgb4vf/sge.c

index f10864ddafbef62492fc95608e0d0f7b8737c561..6a6e18b0724884ff4e3951dee55fc2cf4f186b92 100644 (file)
@@ -1679,6 +1679,7 @@ int process_responses(struct sge_rspq *rspq, int budget)
                                }
                                len = RSPD_LEN(len);
                        }
+                       gl.tot_len = len;
 
                        /*
                         * Gather packet fragments.