]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/iw_cxgb4: fix the calculation of ipv6 header size
authorRaju Rangoju <rajur@chelsio.com>
Wed, 31 May 2017 06:36:58 +0000 (12:06 +0530)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:03:02 +0000 (17:03 -0400)
commite814b7f5736a5152067d635fc7133b659de0d0d9
treeb8f889dc657525cfd23376c967bdce605b40675f
parentc1b7817a19508674bb1e8915af2af10edb4cdd7d
RDMA/iw_cxgb4: fix the calculation of ipv6 header size

Take care of ipv6 checks while computing header length for deducing mtu
size of ipv6 servers. Due to the incorrect header length computation for
ipv6 servers, wrong mss is reported to the peer (client).

Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c