]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: fix NULL pointer dereference panic during rds module unload
authorRama Nichanamatlu <rama.nichanamatlu@oracle.com>
Wed, 3 Sep 2014 10:17:40 +0000 (03:17 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 21:00:07 +0000 (14:00 -0700)
commitdbbcf5dd7c595709fa3bafe240f29f8b57e2923d
treed3fe332a0c66e6fc4d6e7128e65144541f152262
parent5535192e4604ccc429a27bb0a80a44e1357df02e
rds: fix NULL pointer dereference panic during rds module unload

This issue reported happens during an unload of rds module with rds
reconnect timeout worker scheduled to execute in the future, and rds
module unloaded earlier than that. rds reconnect timeout worker was
introduced by 8991a87c6c3fc8b17383a140bd6f15a958e31298 ( RDS: SA query
optimization) commit. Fix is to flush/cancel any reconnect timeout
workers while performing rds connections destroy which is done during
module unload.

Orabug: 18952475

Signed-off-by: Rama Nichanamatlu <rama.nichanamatlu@oracle.com>
Acked-by: Chien Yen <chien.yen@oracle.com>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
(cherry picked from commit 26c0879e51915b9ba0526d9a3630e08d2cc51a2b)
net/rds/connection.c