diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-01-18 22:01:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-19 16:20:16 -0800 |
commit | eed087e367591fc08490d7c6c2779b4b72c8f20c (patch) | |
tree | b47c34cb3aa79c6634ca77a85b546b0839682631 /drivers | |
parent | 39eddb4c3970e9aadbc87b8a7cab7b4fefff077f (diff) |
cxgb3: Fix LRO misalignment
The lro manager's frag_align_pad setting was missing,
leading to misaligned access to the skb passed up
to the stack.
Tested-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/cxgb3/sge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index 14f9fb3e879..379a1324db4 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c @@ -2104,6 +2104,7 @@ static void init_lro_mgr(struct sge_qset *qs, struct net_lro_mgr *lro_mgr) { lro_mgr->dev = qs->netdev; lro_mgr->features = LRO_F_NAPI; + lro_mgr->frag_align_pad = NET_IP_ALIGN; lro_mgr->ip_summed = CHECKSUM_UNNECESSARY; lro_mgr->ip_summed_aggr = CHECKSUM_UNNECESSARY; lro_mgr->max_desc = T3_MAX_LRO_SES; |