]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
s390/qeth: consolidate skb allocation
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Wed, 18 Oct 2017 15:40:22 +0000 (17:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2017 12:11:05 +0000 (13:11 +0100)
commit8d68af6af6b4f76eac4f9abf584b4ea356f638c0
tree76c9d4976ad978a5e94b324155392eab2118c67b
parentb6f72f9698ab8bd79cd0b72a8d9f25dacd786563
s390/qeth: consolidate skb allocation

Move the allocation of SG skbs into the main path. This allows for
a little code sharing, and handling ENOMEM from within one place.

As side effect, L2 SG skbs now get the proper amount of additional
headroom (read: zero) instead of the hard-coded ETH_HLEN.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c