summaryrefslogtreecommitdiff
path: root/scripts/kallsyms.c
diff options
context:
space:
mode:
authorYunjian Wang <wangyunjian@huawei.com>2021-03-30 17:27:48 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-30 23:50:03 +0300
commitae81feb7338c89cee4e6aa0424bdab2ce2b52da2 (patch)
tree810bf9f3858b8e2d39947896cad979dc248daab9 /scripts/kallsyms.c
parent8a03dd925786bdc3834d56ccc980bb70668efa35 (diff)
downloadlinux-ae81feb7338c89cee4e6aa0424bdab2ce2b52da2.tar.xz
sch_htb: fix null pointer dereference on a null new_q
sch_htb: fix null pointer dereference on a null new_q Currently if new_q is null, the null new_q pointer will be dereference when 'q->offload' is true. Fix this by adding a braces around htb_parent_to_leaf_offload() to avoid it. Addresses-Coverity: ("Dereference after null check") Fixes: d03b195b5aa0 ("sch_htb: Hierarchical QoS hardware offload") Signed-off-by: Yunjian Wang <wangyunjian@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/kallsyms.c')
0 files changed, 0 insertions, 0 deletions