diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-26 18:29:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 09:56:07 -0700 |
commit | cd11d11286cba88aab5b1da1c83ee36e5b5cefb7 (patch) | |
tree | a464c6cb91ec6a24f1fe9f964eac85bb90d6f418 /block/bfq-iosched.c | |
parent | a2eb0ad50cae81f22961e8da54b536c7790af982 (diff) | |
download | linux-cd11d11286cba88aab5b1da1c83ee36e5b5cefb7.tar.gz linux-cd11d11286cba88aab5b1da1c83ee36e5b5cefb7.tar.bz2 linux-cd11d11286cba88aab5b1da1c83ee36e5b5cefb7.zip |
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>
Diffstat (limited to 'block/bfq-iosched.c')
0 files changed, 0 insertions, 0 deletions