WSL2-Linux-Kernel/drivers/isdn/gigaset
Kees Cook 33ad61d0f7 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: 4cfea08e62 ("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>
2017-10-23 01:30:11 +01:00
..
Kconfig isdn/gigaset: enable Kernel CAPI support by default 2014-12-10 15:06:10 -05:00
Makefile gigaset: add Kernel CAPI interface (v3) 2009-10-06 22:43:53 -07:00
asyncdata.c net: introduce __skb_put_[zero, data, u8] 2017-06-20 13:30:14 -04:00
bas-gigaset.c isdn/gigaset: Provide cardstate context for bas timer callbacks 2017-10-23 01:30:11 +01:00
capi.c isdn/capi: handle CAPI 2.0 message parser failures 2014-10-14 15:05:35 -04:00
common.c isdn/gigaset: Convert timers to use timer_setup() 2017-10-18 12:39:39 +01:00
dummyll.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
ev-layer.c isdn/gigaset: restructure modem response parser (4) 2015-03-23 16:47:24 -04:00
gigaset.h isdn/gigaset: drop duplicate declaration 2014-12-10 15:06:09 -05:00
i4l.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
interface.c TTY: add tty_port_tty_wakeup helper 2013-03-18 16:19:45 -07:00
isocdata.c net: introduce __skb_put_[zero, data, u8] 2017-06-20 13:30:14 -04:00
proc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ser-gigaset.c isdn/gigaset: use designated initializers 2016-12-17 11:56:57 -05:00
usb-gigaset.c isdn/gigaset: use designated initializers 2016-12-17 11:56:57 -05:00