]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc612b8e674446615476faba5255f6cdcd26b5fa8
tree901ba44d9656e654933cd5ed3439a254bd35b909
parent427e801c113f904a43f0da835d971876a353292d
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: a6138fd1dc51 ('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