iucv: call skb_linearize() when needed
authorEugene Crosser <Eugene.Crosser@ru.ibm.com>
Fri, 11 Dec 2015 11:27:51 +0000 (12:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Dec 2015 21:16:44 +0000 (16:16 -0500)
commit979f66b32dbbf928635dbf44fd9843d27c4ed8f9
treeaff4410b8326506c1fcf85bf4e90a8ee37f1e974
parent0506eb01f70bd4d7e999c11488a6a892e01c42e2
iucv: call skb_linearize() when needed

When the linear buffer of the received sk_buff is shorter than
the header, use skb_linearize(). sk_buffs with short linear buffer
happen on the sending side under high traffic, and some kernel
configurations, when allocated buffer starts just before page
boundary, and IUCV transport has to send it as two separate QDIO
buffer elements, with fist element shorter than the header.

Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c
This page took 0.024885 seconds and 5 git commands to generate.