linux_dsm_epyc7002/drivers/s390/net
Julian Wiedmann f677fcb9ae s390/qeth: ensure linear access to packet headers
When the RX path builds non-linear skbs, the packet headers can
currently spill over into page fragments. Depending on the packet type
and what fields we need to access in the headers, this could cause us
to go past the end of skb->data.

So for non-linear packets, copy precisely the length of the necessary
headers ('linear_len') into skb->data.
And don't copy more, upper-level protocols will peel whatever additional
packet headers they need.

Fixes: 4a71df5004 ("qeth: new qeth device driver")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-05 12:25:05 -08:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h
ctcm_main.c
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
ism_drv.c
ism.h net/smc: immediate termination for SMCD link groups 2019-11-15 12:28:28 -08:00
Kconfig
lcs.c
lcs.h
Makefile
netiucv.c
qeth_core_main.c s390/qeth: ensure linear access to packet headers 2019-12-05 12:25:05 -08:00
qeth_core_mpc.c
qeth_core_mpc.h s390/qeth: support per-frame invalidation 2019-11-14 18:16:50 -08:00
qeth_core_sys.c s390/qeth: don't check drvdata in sysfs code 2019-11-14 18:16:51 -08:00
qeth_core.h s390/qeth: guard against runt packets 2019-12-05 12:25:05 -08:00
qeth_ethtool.c s390/qeth: guard against runt packets 2019-12-05 12:25:05 -08:00
qeth_l2_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-22 16:27:24 -08:00
qeth_l2_sys.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-22 16:27:24 -08:00
qeth_l2.h
qeth_l3_main.c s390/qeth: replace qeth_l3_get_addr_buffer() 2019-11-14 18:16:51 -08:00
qeth_l3_sys.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-11-25 20:02:57 -08:00
qeth_l3.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-11-25 20:02:57 -08:00
smsgiucv_app.c
smsgiucv.c
smsgiucv.h