summaryrefslogtreecommitdiff
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-12-20 06:52:04 +0300
committerDavid S. Miller <davem@davemloft.net>2018-12-20 10:47:59 +0300
commit8edc2285b7285c5fbffe438dc8113260d3e76656 (patch)
tree1c7d1f07a9fea7dfd601e7b54f37d70240180993 /lib/test_xarray.c
parent0285dbae5db842862d49f148cdcedad986447f34 (diff)
downloadlinux-8edc2285b7285c5fbffe438dc8113260d3e76656.tar.xz
net: hns3: don't restore rules when flow director is disabled
When user disables flow director, all the rules will be disabled. But when reset happens, it will restore all the rules again. It's not reasonable. This patch fixes it by add flow director status check before restore fules. Fixes: 6871af29b3ab ("net: hns3: Add reset handle for flow director") Fixes: c17852a8932f ("net: hns3: Add support for enable/disable flow director") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions