diff options
author | Julian Wiedmann | 2018-09-17 17:36:01 +0200 |
---|---|---|
committer | David S. Miller | 2018-09-17 18:10:25 +0200 |
commit | 554942646653c913268da8a7ec02724afe1166cb (patch) | |
tree | daf2cffcc5c29fc021e42a0f79c789985b870ee2 /drivers/s390/net/qeth_l3_main.c | |
parent | s390/qeth: fix up protocol headers early (diff) | |
download | kernel-qcow2-linux-554942646653c913268da8a7ec02724afe1166cb.tar.gz kernel-qcow2-linux-554942646653c913268da8a7ec02724afe1166cb.tar.xz kernel-qcow2-linux-554942646653c913268da8a7ec02724afe1166cb.zip |
s390/qeth: check size of required HW header cache object
When qeth_add_hw_header() falls back to the header cache, ensure that
the requested length doesn't exceed the object size.
For current usage this is a no-brainer, but TSO transmission will
introduce protocol headers of varying length.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3_main.c')
0 files changed, 0 insertions, 0 deletions