summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2018-05-11 17:45:32 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-11 16:34:38 -0400
commitd68d75fdc34b0253c2bded7ed18cd60eb5a9599b (patch)
treedd5a0c560c891823e6341b61bde23338d477c700 /net/ceph
parentf4d641a2288504d7761e715a922fc675ddc2e594 (diff)
downloadlinux-d68d75fdc34b0253c2bded7ed18cd60eb5a9599b.tar.gz
linux-d68d75fdc34b0253c2bded7ed18cd60eb5a9599b.tar.bz2
linux-d68d75fdc34b0253c2bded7ed18cd60eb5a9599b.zip
net: sched: fix error path in tcf_proto_create() when modules are not configured
In case modules are not configured, error out when tp->ops is null and prevent later null pointer dereference. Fixes: 33a48927c193 ("sched: push TC filter protocol creation into a separate function") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions