From: Casey Leedom Date: Thu, 11 Nov 2010 09:06:49 +0000 (+0000) Subject: cxgb4vf: fix bug in Generic Receive Offload X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b94e72e23e3ededa23cf18973ffc9a03c7ea8d04;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: David S. Miller --- 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.