Arnd Bergmann 30787a4170 rxrpc: fix undefined behavior in rxrpc_mark_call_released
gcc -Wmaybe-initialized correctly points out a newly introduced bug
through which we can end up calling rxrpc_queue_call() for a dead
connection:

net/rxrpc/call_object.c: In function 'rxrpc_mark_call_released':
net/rxrpc/call_object.c:600:5: error: 'sched' may be used uninitialized in this function [-Werror=maybe-uninitialized]

This sets the 'sched' variable to zero to restore the previous
behavior.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: f5c17aaeb2ae ("rxrpc: Calls should only have one terminal state")
Signed-off-by: David Howells <dhowells@redhat.com>
2016-09-02 22:39:44 +01:00
..
2016-06-28 05:26:14 -04:00
2016-07-05 14:08:47 -07:00
2016-08-31 14:15:42 -07:00
2016-09-01 14:09:01 -07:00
2016-09-01 14:09:01 -07:00
2015-10-23 03:05:19 -07:00
2016-09-01 14:09:01 -07:00
2016-05-29 22:33:25 -07:00
2016-09-01 10:13:15 -07:00
2016-08-30 22:27:18 -07:00
2016-08-12 12:32:24 -07:00
2016-07-26 16:19:19 -07:00
2016-06-09 23:41:03 -07:00
2016-08-17 19:36:23 -04:00
2016-08-17 19:36:23 -04:00