diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2014-02-14 10:30:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-14 00:15:20 -0500 |
commit | 54a4b05cd281a352d803417a98a72878fb0802cf (patch) | |
tree | f75291053c03b191ab3d8bb5ef51ca57f47e7de0 /net/sched/cls_route.c | |
parent | d4f2fa6ad61ec1db713569a179183df4d0fc6ae7 (diff) |
sch_netem: return errcode before setting params
get_dist_table() and get_loss_clg() may be failed. These
two functions should be called after setting the members
of qdisc_priv(sch), or it will break the old settings while
either of them is failed.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_route.c')
0 files changed, 0 insertions, 0 deletions