diff options
author | Ganesh Goudar <ganeshgr@chelsio.com> | 2018-05-21 12:26:36 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-21 12:16:23 -0400 |
commit | a6076fcd187a1cb4900cf970a04401957b4b4ab8 (patch) | |
tree | 486b1bc25751d0b127758b78d91648003b352202 /net/ipv4/ip_output.c | |
parent | 6c541b4595a28b204888db75aba1966ede4a6184 (diff) |
cxgb4: copy the length of cpl_tx_pkt_core to fw_wr
immdlen field of FW_ETH_TX_PKT_WR is filled in a wrong way,
we must copy the length of all the cpls encapsulated in fw
work request. In the xmit path we missed adding the length
of CPL_TX_PKT_CORE but we added the length of WR_HDR and it
worked because WR_HDR and CPL_TX_PKT_CORE are of same length.
Add the length of cpl_tx_pkt_core not WR_HDR's. This also
fixes the lso cpl errors for udp tunnels
Fixes: d0a1299c6bf7 ("cxgb4: add support for vxlan segmentation offload")
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions