summaryrefslogtreecommitdiff
path: root/lib/decompress_unlzma.c
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-05-19 18:53:16 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-21 01:53:58 +0300
commite63cd65f435c77eb2bc0c4f6691be350cd749dce (patch)
tree930c53c054722f62cb41af000dc848bcd4d0ec98 /lib/decompress_unlzma.c
parent743e1a8438e5a37f9ab1846e75a47de8e9cd522f (diff)
downloadlinux-e63cd65f435c77eb2bc0c4f6691be350cd749dce.tar.xz
net: hns3: Fixes API to fetch ethernet header length with kernel default
During the RX leg driver needs to fetch the ethernet header length from the RX'ed Buffer Descriptor. Currently, proprietary version hns3_nic_get_headlen is being used to fetch the header length which uses l234info present in the Buffer Descriptor which might not be valid for the first Buffer Descriptor if the packet is spanning across multiple descriptors. Kernel default eth_get_headlen API does the job correctly. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Peng Li <lipeng321@huawei.com> Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/decompress_unlzma.c')
0 files changed, 0 insertions, 0 deletions