diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-09-27 20:48:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-02 16:07:17 +0100 |
commit | 4e6263ec8bc965f0bd1c24bb40694a38e382e7a9 (patch) | |
tree | c02719d506db20f6944340f21e127f074dca6229 /net/sched/cls_basic.c | |
parent | bc37b24ee05e3fc4eae3e51c25572ccda9c34c11 (diff) | |
download | linux-4e6263ec8bc965f0bd1c24bb40694a38e382e7a9.tar.gz linux-4e6263ec8bc965f0bd1c24bb40694a38e382e7a9.tar.bz2 linux-4e6263ec8bc965f0bd1c24bb40694a38e382e7a9.zip |
net: sched: ensure n arg not empty before call bind_class
All bind_class callbacks are directly returned when n arg is empty.
Therefore, bind_class is invoked only when n arg is not empty.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions