diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-06-21 21:44:37 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-23 11:32:48 -0700 |
commit | 45d5cb137c3638b3a310f41b31d8e79daf647f14 (patch) | |
tree | 901d596057160e17b659edff88d14919b255902a /net/packet | |
parent | c492d4c74dd3f87559883ffa0f94a8f1ae3fe5f5 (diff) |
net/sched: cbs: Fix error path of cbs_module_init
If register_qdisc fails, we should unregister
netdevice notifier.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: e0a7683d30e9 ("net/sched: cbs: fix port_rate miscalculation")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions