]> git.baikalelectronics.ru Git - kernel.git/commit
IB/IPoIB: Do not set skb truesize since using one linearskb
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Wed, 3 Feb 2016 20:55:37 +0000 (15:55 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 4 Feb 2016 12:08:12 +0000 (07:08 -0500)
commit5d3b0b82ee57320e9d8d9a9b9e7cacb85110aedf
treefb18b7aa91e0383317d58a5a78c82558d35a51a4
parent88ef7a2bda315a80df0158026fc075c8882483bc
IB/IPoIB: Do not set skb truesize since using one linearskb

We are seeing this warning: at net/core/skbuff.c:4174
and before commit 3332d92301c5 ("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: 3332d92301c5 ("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>
drivers/infiniband/ulp/ipoib/ipoib_ib.c