]> git.karo-electronics.de Git - karo-tx-linux.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)
commit98b80a2a73a26f0e259632da519ccedb0cf37617
treeb8f889dc657525cfd23376c967bdce605b40675f
parent4bbfabede50849f87b913a1fc07c02ecc96b6c57
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