diff options
| author | Jiri Pirko <[email protected]> | 2018-05-11 15:45:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-05-11 20:34:38 +0000 |
| commit | d68d75fdc34b0253c2bded7ed18cd60eb5a9599b (patch) | |
| tree | dd5a0c560c891823e6341b61bde23338d477c700 /net/tls/tls_main.c | |
| parent | Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirshe... (diff) | |
| download | kernel-d68d75fdc34b0253c2bded7ed18cd60eb5a9599b.tar.gz kernel-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 <[email protected]>
Acked-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
