Commit eed087e367591fc08490d7c6c2779b4b72c8f20c

Authored by Divy Le Ray
Committed by David S. Miller
1 parent 39eddb4c39

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/net/cxgb3/sge.c
... ... @@ -2104,6 +2104,7 @@
2104 2104 {
2105 2105 lro_mgr->dev = qs->netdev;
2106 2106 lro_mgr->features = LRO_F_NAPI;
  2107 + lro_mgr->frag_align_pad = NET_IP_ALIGN;
2107 2108 lro_mgr->ip_summed = CHECKSUM_UNNECESSARY;
2108 2109 lro_mgr->ip_summed_aggr = CHECKSUM_UNNECESSARY;
2109 2110 lro_mgr->max_desc = T3_MAX_LRO_SES;