summaryrefslogtreecommitdiff
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2017-11-28 16:28:39 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-28 23:54:05 +0300
commitf85729d07cd649bf69820f14bdad36326a24a699 (patch)
tree7b7b208dcc0d37e0f69b875e9142471fe50135be /net/mac80211/debugfs_sta.c
parent25415cec502a1232b19fffc85465882b19a90415 (diff)
downloadlinux-f85729d07cd649bf69820f14bdad36326a24a699.tar.xz
sch_sfq: fix null pointer dereference at timer expiration
While converting sch_sfq to use timer_setup(), the commit cdeabbb88134 ("net: sched: Convert timers to use timer_setup()") forgot to initialize the 'sch' field. As a result, the timer callback tries to dereference a NULL pointer, and the kernel does oops. Fix it initializing such field at qdisc creation time. Fixes: cdeabbb88134 ("net: sched: Convert timers to use timer_setup()") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
0 files changed, 0 insertions, 0 deletions