aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-09-17 17:36:01 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-17 09:10:25 -0700
commit554942646653c913268da8a7ec02724afe1166cb (patch)
treedaf2cffcc5c29fc021e42a0f79c789985b870ee2 /drivers/s390/net/qeth_l2_main.c
parents390/qeth: fix up protocol headers early (diff)
downloadlinux-dev-554942646653c913268da8a7ec02724afe1166cb.tar.xz
linux-dev-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_l2_main.c')
0 files changed, 0 insertions, 0 deletions