diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-04-25 18:26:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-26 11:14:06 -0400 |
commit | 14a1b04777b6cc1df50cd0587c5db22badd7f4d7 (patch) | |
tree | d39e180fad8ad1f84264c662b4cb52c7a1ca2d10 /net | |
parent | 58aa2491aa615d9618ffc764cc3eaf689053c7a9 (diff) | |
download | linux-14a1b04777b6cc1df50cd0587c5db22badd7f4d7.tar.bz2 |
s390/qeth: trust non-IP cast type in qeth_l3_fill_header()
When building the L3 HW header for non-IP packets, trust the cast type
that was passed as parameter. qeth_l3_get_cast_type() has most likely
also used h_dest to determine the cast type, so we get the same
result, and can remove that duplicated code.
In the unlikely case that we would get a _different_ cast type, then
that's based off a route lookup and should be considered authoritative.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions