commit | 58aa2491aa615d9618ffc764cc3eaf689053c7a9 | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Thu Apr 25 18:26:00 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 26 11:14:06 2019 -0400 |
tree | 13906d11273f817392d2917c091a9229cbafdd16 | |
parent | 4e26c5fe552e5f0d9e3abcea48cd311af232bed9 [diff] |
s390/qeth: extract helper to determine L2 cast type This de-duplicates the L2 and L3 cast-type code, and makes the L2 code a bit more robust by removing the fragile assumption that skb->data always points to the Ethernet Header. This would break in code paths where we pushed the HW header onto the skb. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>