]> git.karo-electronics.de Git - linux-beck.git/commit
net/af_iucv: don't use paged skbs for TX on HiperSockets
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Tue, 10 Jan 2017 16:10:34 +0000 (17:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 19:18:04 +0000 (20:18 +0100)
commit9297e0c189f59f42e5d39aee901d54a4493a60e2
tree6b08c3f3717b3cc6ccd2bfc52e387699cd731bb7
parent00cf64fbaa1e99d0420f2934f301c671ba298342
net/af_iucv: don't use paged skbs for TX on HiperSockets

commit dc5367bcc556e97555fc94a32cd1aadbebdff47e upstream.

With commit e53743994e21
("af_iucv: use paged SKBs for big outbound messages"),
we transmit paged skbs for both of AF_IUCV's transport modes
(IUCV or HiperSockets).
The qeth driver for Layer 3 HiperSockets currently doesn't
support NETIF_F_SG, so these skbs would just be linearized again
by the stack.
Avoid that overhead by using paged skbs only for IUCV transport.

cc stable, since this also circumvents a significant skb leak when
sending large messages (where the skb then needs to be linearized).

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Fixes: e53743994e21 ("af_iucv: use paged SKBs for big outbound messages")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/iucv/af_iucv.c