linux-hardened/drivers/s390/net
Julian Wiedmann cd11d11286 net/af_iucv: locate IUCV header via skb_network_header()
This patch attempts to untangle the TX and RX code in qeth from
af_iucv's respective HiperTransport path:
On the TX side, pointing skb_network_header() at the IUCV header
means that qeth_l3_fill_af_iucv_hdr() no longer needs a magical offset
to access the header.
On the RX side, qeth pulls the (fake) L2 header off the skb like any
normal ethernet driver would. This makes working with the IUCV header
in af_iucv easier, since we no longer have to assume a fixed skb layout.

While at it, replace the open-coded length checks in af_iucv's RX path
with pskb_may_pull().

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-26 09:56:07 -07:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h
ctcm_main.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
ism.h s390/ism: add device driver for internal shared memory 2018-06-30 20:42:26 +09:00
ism_drv.c s390/ism: add device driver for internal shared memory 2018-06-30 20:42:26 +09:00
Kconfig s390/ism: add device driver for internal shared memory 2018-06-30 20:42:26 +09:00
lcs.c s390/net: set HW port number in netdevice 2018-04-27 13:38:47 -04:00
lcs.h
Makefile s390/ism: add device driver for internal shared memory 2018-06-30 20:42:26 +09:00
netiucv.c
qeth_core.h s390/qeth: convert layer attribute to enum 2018-09-26 09:56:07 -07:00
qeth_core_main.c s390/qeth: on gdev release, reset drvdata 2018-09-26 09:56:07 -07:00
qeth_core_mpc.c s390/qeth: use qeth_setup_ccw() to set up all CCWs 2018-08-09 14:02:50 -07:00
qeth_core_mpc.h s390/qeth: use qeth_setup_ccw() to set up all CCWs 2018-08-09 14:02:50 -07:00
qeth_core_sys.c s390/qeth: fix discipline unload after setup error 2018-09-26 09:56:07 -07:00
qeth_l2.h s390/qeth: clean up exported symbols 2018-07-12 16:42:39 -07:00
qeth_l2_main.c s390/qeth: fix discipline unload after setup error 2018-09-26 09:56:07 -07:00
qeth_l2_sys.c
qeth_l3.h
qeth_l3_main.c net/af_iucv: locate IUCV header via skb_network_header() 2018-09-26 09:56:07 -07:00
qeth_l3_sys.c s390/qeth: allocate netdevice early 2018-07-21 10:12:29 -07:00
smsgiucv.c
smsgiucv.h
smsgiucv_app.c