Kinglong Mee
d79e41188a
SUNRPC: cleanup ida information when removing sunrpc module
commit c929ea0b91 upstream.
After removing sunrpc module, I get many kmemleak information as,
unreferenced object 0xffff88003316b1e0 (size 544):
comm "gssproxy", pid 2148, jiffies 4294794465 (age 4200.081s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffffb0cfb58a>] kmemleak_alloc+0x4a/0xa0
[<ffffffffb03507fe>] kmem_cache_alloc+0x15e/0x1f0
[<ffffffffb0639baa>] ida_pre_get+0xaa/0x150
[<ffffffffb0639cfd>] ida_simple_get+0xad/0x180
[<ffffffffc06054fb>] nlmsvc_lookup_host+0x4ab/0x7f0 [lockd]
[<ffffffffc0605e1d>] lockd+0x4d/0x270 [lockd]
[<ffffffffc06061e5>] param_set_timeout+0x55/0x100 [lockd]
[<ffffffffc06cba24>] svc_defer+0x114/0x3f0 [sunrpc]
[<ffffffffc06cbbe7>] svc_defer+0x2d7/0x3f0 [sunrpc]
[<ffffffffc06c71da>] rpc_show_info+0x8a/0x110 [sunrpc]
[<ffffffffb044a33f>] proc_reg_write+0x7f/0xc0
[<ffffffffb038e41f>] __vfs_write+0xdf/0x3c0
[<ffffffffb0390f1f>] vfs_write+0xef/0x240
[<ffffffffb0392fbd>] SyS_write+0xad/0x130
[<ffffffffb0d06c37>] entry_SYSCALL_64_fastpath+0x1a/0xa9
[<ffffffffffffffff>] 0xffffffffffffffff
I found, the ida information (dynamic memory) isn't cleanup.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Fixes: 2f048db468 ("SUNRPC: Add an identifier for struct rpc_clnt")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-01 08:30:53 +01:00
..
2016-08-10 11:49:24 +02:00
2016-10-07 15:23:40 +02:00
2016-03-03 15:07:26 -08:00
2016-10-28 03:01:34 -04:00
2016-10-16 17:36:14 +02:00
2015-12-08 12:42:44 -05:00
2016-08-20 18:09:25 +02:00
2016-09-24 10:07:42 +02:00
2016-01-05 16:00:03 -08:00
2016-06-24 10:18:24 -07:00
2016-04-12 09:08:32 -07:00
2015-12-07 14:14:03 -05:00
2015-11-10 15:00:03 -08:00
2015-11-10 14:48:36 -08:00
2017-02-01 08:30:53 +01:00
2016-07-27 09:47:28 -07:00
2016-09-07 08:32:45 +02:00
2016-03-09 15:34:52 -08:00
2016-08-20 18:09:24 +02:00
2016-08-20 18:09:24 +02:00
2016-08-20 18:09:24 +02:00
2015-12-09 10:35:16 -08:00
2015-11-11 09:37:34 -07:00
2015-11-07 10:40:47 -07:00
2016-09-15 08:27:47 +02:00
2016-07-11 09:31:11 -07:00
2015-11-11 02:19:33 -05:00
2017-01-12 11:22:50 +01:00
2016-05-04 14:48:49 -07:00
2015-12-03 10:18:21 -05:00
2016-05-11 11:21:11 +02:00
2015-11-05 19:34:48 -08:00
2016-12-08 07:15:24 +01:00
2016-02-25 12:01:16 -08:00
2015-11-20 16:17:32 -08:00
2016-02-17 12:30:57 -08:00
2015-11-10 12:06:23 +01:00
2016-12-15 08:49:23 -08:00
2015-12-02 23:50:33 +01:00
2016-05-04 14:48:49 -07:00
2017-01-12 11:22:50 +01:00
2016-07-27 09:47:33 -07:00
2016-10-28 03:01:26 -04:00
2016-04-12 09:08:39 -07:00
2016-08-16 09:30:49 +02:00
2015-11-06 17:50:42 -08:00
2015-11-18 16:27:46 -05:00
2016-03-03 15:07:09 -08:00
2015-12-11 11:05:57 -08:00
2015-11-10 09:33:06 -08:00
2016-11-21 10:06:40 +01:00
2016-10-22 12:26:56 +02:00
2016-09-30 10:18:37 +02:00
2016-01-07 12:17:39 -05:00
2015-11-20 16:17:32 -08:00
2016-05-11 11:21:13 +02:00
2015-11-09 15:11:24 -08:00
2016-02-17 12:30:57 -08:00
2015-11-06 17:50:42 -08:00
2015-11-05 19:34:48 -08:00
2016-03-03 15:07:16 -08:00
2016-09-07 08:32:44 +02:00
2016-04-20 15:42:02 +09:00
2016-12-02 09:09:00 +01:00
2015-12-02 23:37:16 -05:00
2016-09-24 10:07:43 +02:00
2017-01-19 20:17:19 +01:00
2016-07-27 09:47:29 -07:00
2015-11-09 15:11:24 -08:00
2016-10-28 03:01:30 -04:00
2015-12-12 10:15:34 -08:00
2015-11-28 19:33:29 -08:00
2015-11-19 14:25:32 +01:00
2016-03-09 15:34:52 -08:00
2016-10-28 03:01:32 -04:00
2015-11-23 09:44:58 +01:00
2015-11-17 15:25:43 -05:00
2015-11-10 12:06:16 +01:00
2015-11-05 19:34:48 -08:00
2016-08-16 09:30:51 +02:00
2017-01-06 11:16:11 +01:00
2016-10-20 10:00:47 +02:00
2015-12-18 14:25:40 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 11:04:07 -08:00
2016-03-09 15:34:56 -08:00
2015-11-06 17:50:42 -08:00
2016-11-15 07:46:37 +01:00
2016-11-15 07:46:37 +01:00
2016-09-07 08:32:38 +02:00
2016-07-11 09:31:11 -07:00
2017-01-15 13:41:35 +01:00
2015-11-06 19:33:12 +01:00
2017-02-01 08:30:53 +01:00
2016-03-03 15:07:28 -08:00
2015-11-23 21:57:44 -05:00
2015-11-05 19:34:48 -08:00
2016-10-07 15:23:41 +02:00
2015-11-10 17:27:12 -06:00
2015-11-16 09:03:21 +05:30
2015-12-09 09:23:28 -06:00
2015-11-12 11:50:33 -08:00
2015-11-10 17:27:12 -06:00
2015-11-05 19:34:48 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2016-09-30 10:18:37 +02:00
2016-09-07 08:32:37 +02:00
2016-12-08 07:15:24 +01:00
2016-09-15 08:27:46 +02:00
2016-06-07 18:14:35 -07:00
2016-10-31 04:13:58 -06:00
2015-11-07 01:29:22 +01:00
2015-11-23 09:44:58 +01:00
2017-01-06 11:16:11 +01:00
2016-11-10 16:36:37 +01:00
2016-02-25 12:01:23 -08:00
2015-11-06 17:50:42 -08:00
2015-12-04 14:38:26 -05:00
2016-02-25 12:01:21 -08:00
2017-01-06 11:16:11 +01:00
2015-11-19 16:22:43 +01:00
2016-10-28 03:01:32 -04:00
2016-09-07 08:32:44 +02:00
2016-03-03 15:07:23 -08:00
2016-06-01 12:15:54 -07:00
2016-07-27 09:47:31 -07:00
2015-11-22 11:58:44 -08:00
2016-09-30 10:18:37 +02:00
2016-07-11 09:31:11 -07:00
2015-12-12 10:15:34 -08:00
2016-10-28 03:01:30 -04:00
2016-10-28 03:01:34 -04:00
2015-11-25 15:49:13 +00:00
2016-10-07 15:23:46 +02:00
2015-11-13 21:53:18 -08:00
2016-04-12 09:08:35 -07:00
2016-09-15 08:27:47 +02:00
2016-03-09 15:34:52 -08:00
2015-11-05 19:34:48 -08:00
2016-03-16 08:42:58 -07:00
2016-06-01 12:15:52 -07:00
2015-11-25 15:49:13 +00:00
2015-11-05 19:34:48 -08:00
2016-03-03 15:07:08 -08:00
2016-12-10 19:07:25 +01:00
2015-11-23 09:44:58 +01:00
2016-04-20 15:42:07 +09:00
2016-06-01 12:15:51 -07:00
2015-12-04 08:38:42 -07:00
2015-11-05 19:34:48 -08:00
2015-12-29 17:45:49 -08:00
2015-12-13 14:30:59 -08:00
2016-03-09 15:34:52 -08:00
2015-11-13 20:34:33 -05:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00