diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-02-18 12:26:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 13:11:07 -0800 |
commit | af736bf071e8ccf395fa7f7d9d105e020cf609cc (patch) | |
tree | 29c55cdda7ff511bcb74baa0f1b11ad19e71c759 /net/ipv4/igmp.c | |
parent | lib/test_rhashtable: fix spelling mistake "existant" -> "existent" (diff) | |
download | linux-dev-af736bf071e8ccf395fa7f7d9d105e020cf609cc.tar.xz linux-dev-af736bf071e8ccf395fa7f7d9d105e020cf609cc.zip |
net: sched: potential NULL dereference in tcf_block_find()
The error code isn't set on this path so it would result in returning
ERR_PTR(0) and a NULL dereference in the caller.
Fixes: 18d3eefb17cf ("net: sched: refactor tcf_block_find() into standalone functions")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/igmp.c')
0 files changed, 0 insertions, 0 deletions