diff options
author | 2017-10-18 17:40:22 +0200 | |
---|---|---|
committer | 2017-10-20 13:11:05 +0100 | |
commit | 8d68af6af6b4f76eac4f9abf584b4ea356f638c0 (patch) | |
tree | 76c9d4976ad978a5e94b324155392eab2118c67b /drivers/net/tun.c | |
parent | s390/qeth: clean up page frag creation (diff) | |
download | wireguard-linux-8d68af6af6b4f76eac4f9abf584b4ea356f638c0.tar.xz wireguard-linux-8d68af6af6b4f76eac4f9abf584b4ea356f638c0.zip |
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>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions