diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-17 17:36:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 09:10:25 -0700 |
commit | 554942646653c913268da8a7ec02724afe1166cb (patch) | |
tree | daf2cffcc5c29fc021e42a0f79c789985b870ee2 /drivers/s390/net/qeth_l3_main.c | |
parent | 2d3986d1ceda2c00255c924940207a1cdfd65f1c (diff) | |
download | talos-op-linux-554942646653c913268da8a7ec02724afe1166cb.tar.gz talos-op-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