RDMA/nes: Fix for incorrect MSS when TSO is on
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Thu, 20 Sep 2012 19:34:20 +0000 (19:34 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 03:34:52 +0000 (20:34 -0700)
commit6ad1be814b106e182d9b12898280d0c115541b72
tree171a7f491da1cba4ea60c1d9a865324d25dc240b
parentef3d0c4a5e8c7ad3429b9f9ef66cf5a7563cd513
RDMA/nes: Fix for incorrect MSS when TSO is on

In TSO handling code, skb_shared_info() is used to get the MSS
instead of the bool function skb_is_gso() (which always returns 1).

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/nes/nes_nic.c