IB/IPoIB: Do not set skb truesize since using one linearskb
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Tue, 30 Aug 2016 04:34:59 +0000 (00:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 06:27:49 +0000 (08:27 +0200)
commit917f84b8df10b6959f0fb8e5019cdffb670c0362
tree54e22f02eac1cefb1fe9cf2091bb8a703c4741da
parentdfe2042d96065f044a794f684e9f7976a4ca6e24
IB/IPoIB: Do not set skb truesize since using one linearskb

[ Upstream commit bb6a777369449d15a4a890306d2f925cae720e1c ]

We are seeing this warning: at net/core/skbuff.c:4174
and before commit a44878d10063 ("IB/ipoib: Use one linear skb in RX flow")
skb truesize was not being set when ipoib was using just one skb.
Removing this line avoids the warning when running tcp tests like iperf.

Fixes: a44878d10063 ("IB/ipoib: Use one linear skb in RX flow")
Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/ipoib/ipoib_ib.c