summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2018-09-19 18:29:52 +0100
committerDavid S. Miller <davem@davemloft.net>2018-09-19 21:20:22 -0700
commit2f7e489611bc685b8e00aba436032a8aac6cac57 (patch)
tree2279fce50320f672744cf7e8d5805047ef1ba0d4 /net/lapb
parent26483246b5481af56facb55dac1dc05d7443c124 (diff)
net: hns3: Set STATE_DOWN bit of hdev state when stopping net
We clear STATE_DOWN bit of hdev state when starting net, but do not set it again when stopping net. It causes that the net is down, but hdev state is still up. STATE_DOWN bit of hdev state should be set when stopping net. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") 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>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions