diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-20 13:47:08 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-23 01:30:11 +0100 |
commit | 33ad61d0f799656e8987e9c80e6e15151bb857f3 (patch) | |
tree | 5987395998bae1ba966523f9d728ff0c5c29cbc9 /kernel/smp.c | |
parent | e27afb84b4680570b64c958dfcba9e0b3da92fc9 (diff) | |
download | linux-stable-33ad61d0f799656e8987e9c80e6e15151bb857f3.tar.gz linux-stable-33ad61d0f799656e8987e9c80e6e15151bb857f3.tar.bz2 linux-stable-33ad61d0f799656e8987e9c80e6e15151bb857f3.zip |
isdn/gigaset: Provide cardstate context for bas timer callbacks
While the work callback uses the urb to find cardstate from bas_cardstate,
this may not be valid for timer callbacks. Instead, introduce a direct
pointer back to the cardstate from bas_cardstate for use in timer
callbacks.
Reported-by: Paul Bolle <pebolle@tiscali.nl>
Fixes: 4cfea08e6251 ("isdn/gigaset: Convert timers to use timer_setup()")
Cc: Paul Bolle <pebolle@tiscali.nl>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Johan Hovold <johan@kernel.org>
Cc: gigaset307x-common@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions