summaryrefslogtreecommitdiffstats
path: root/lib/crc-itu-t.c
diff options
context:
space:
mode:
authorEugene Crosser <Eugene.Crosser@ru.ibm.com>2015-12-11 12:27:51 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-14 22:16:44 +0100
commit979f66b32dbbf928635dbf44fd9843d27c4ed8f9 (patch)
treeaff4410b8326506c1fcf85bf4e90a8ee37f1e974 /lib/crc-itu-t.c
parentiucv: prevent information leak in iucv_message (diff)
downloadlinux-979f66b32dbbf928635dbf44fd9843d27c4ed8f9.tar.xz
linux-979f66b32dbbf928635dbf44fd9843d27c4ed8f9.zip
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>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions