summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2018-05-25 19:43:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-03 07:47:42 +0200
commitbefb5d0a366a3a59c0ef72686b39eac5fc81b67e (patch)
tree99231fd607d7968dd961e3f0619bbb46998fdc03 /fs/btrfs/tree-log.c
parentf987e9ba7163b9198d51550de82a86e20afa1768 (diff)
net: hns3: Fixes the init of the VALID BD info in the descriptor
[ Upstream commit 7d0b130cbbfa4651cc1ab9268a2956c1b9d82ff9 ] RX Buffer Descriptor contains a VALID bit which indicates if the BD is valid and has some data. This field is set by HNS3 hardware to intimate the driver of some valid data present in the BD. nd should be reset by the driver when BD is being used again. In the existing code this bit was not being (re-)initialized properly and hence was causing problems. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions