IB/core: Set correct payload length for RoCEv2 over IPv6
authorMoni Shoua <monis@mellanox.com>
Thu, 28 Jan 2016 15:51:50 +0000 (17:51 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Feb 2016 21:42:22 +0000 (16:42 -0500)
commit1c5e08099022942cd530c99f5f292c735acc288f
tree901ba44d9656e654933cd5ed3439a254bd35b909
parent01581fb89e5a6d41d06132aefe105a506f04ce1e
IB/core: Set correct payload length for RoCEv2 over IPv6

For GSI QP traffic, the count of the udp header bytes was missing from
the IPv6 header, fix that.

Fixes: 25f40220e56b ('IB/core: Initialize UD header structure with IP
                     and UDP headers')
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/ud_header.c