commit | cb963a19d99fc42d9abf4238968ef85fcc2ef3e3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Jan 10 01:47:50 2022 -0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Tue Jan 11 20:40:16 2022 -0800 |
tree | 9da1ee6289e9e4ed831e5433c1bbd278475d9a72 | |
parent | 29b3881b7977db792f93ebe440423811d5cfee56 [diff] |
net: sched: do not allocate a tracker in tcf_exts_init() While struct tcf_exts has a net pointer, it is not refcounted until tcf_exts_get_net() is called. Fixes: dbdcda634ce3 ("net: sched: add netns refcount tracker to struct tcf_exts") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: syzbot <syzkaller@googlegroups.com> Link: https://lore.kernel.org/r/20220110094750.236478-1-eric.dumazet@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>