diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-11-06 16:02:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-06 21:22:55 -0800 |
commit | 96147375d49f9b523e6462992ddcfb753835c42f (patch) | |
tree | fee4804982e757070ad0701d78bd67638aaee9d6 /virt | |
parent | net: stmmac: selftests: Prevent false positives in filter tests (diff) | |
download | linux-dev-96147375d49f9b523e6462992ddcfb753835c42f.tar.xz linux-dev-96147375d49f9b523e6462992ddcfb753835c42f.zip |
net: stmmac: xgmac: Only get SPH header len if available
Split Header length is only available when L34T == 0. Fix this by
correctly checking if L34T is zero before trying to get Header length.
Fixes: 67afd6d1cfdf ("net: stmmac: Add Split Header support and enable it in XGMAC cores")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions