]> 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)
commitc8bdfa31b6bc845f1f630dea80cb9b4cfc6435ab
tree901ba44d9656e654933cd5ed3439a254bd35b909
parentd3fae6269792c22bacb96c9e41066c9023284f82
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: 6efa6478a05b ('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