Kinglong Mee
cb1d48f55a
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:33:09 +01:00
..
2016-10-12 11:01:37 -07:00
2016-11-10 20:13:08 +01:00
2016-10-11 15:06:33 -07:00
2017-01-12 11:39:21 +01:00
2016-10-17 16:26:29 +01:00
2016-11-28 15:33:46 -05:00
2016-10-29 12:00:39 -04:00
2016-10-28 09:58:36 +02:00
2016-11-05 13:45:02 +05:30
2016-10-11 13:22:22 -07:00
2017-01-19 20:18:07 +01:00
2016-10-22 17:08:07 -04:00
2017-02-01 08:33:09 +01:00
2017-01-12 11:39:19 +01:00
2016-11-11 23:23:02 +01:00
2016-10-11 15:06:31 -07:00
2016-10-11 15:06:31 -07:00
2016-10-14 12:18:50 -07:00
2016-10-09 17:32:20 -07:00
2017-01-19 20:18:07 +01:00
2016-11-16 13:21:45 -05:00
2017-01-06 10:40:13 +01:00
2016-10-14 12:18:50 -07:00
2016-10-17 15:27:27 -07:00
2016-11-30 16:32:52 -08:00
2016-10-15 10:03:15 -07:00
2016-11-11 08:12:37 -08:00
2017-01-06 10:40:10 +01:00
2016-10-20 16:35:50 +02:00
2017-01-12 11:39:45 +01:00
2016-10-07 18:46:30 -07:00
2016-10-11 15:06:30 -07:00
2017-01-12 11:39:24 +01:00
2016-10-11 15:06:32 -07:00
2017-01-19 20:18:00 +01:00
2016-10-14 14:26:58 -07:00
2016-10-15 10:03:15 -07:00
2016-11-11 08:12:37 -08:00
2016-10-30 13:09:42 -04:00
2016-10-10 14:51:45 -07:00
2016-11-17 09:46:56 -08:00
2016-10-29 15:03:14 -04:00
2016-10-07 23:50:39 -04:00
2016-10-15 10:03:15 -07:00
2016-11-19 09:42:35 -08:00
2016-10-26 15:45:38 +10:00
2016-10-20 15:51:28 +11:00
2016-11-03 16:05:44 -04:00
2017-01-19 20:17:59 +01:00
2016-10-16 11:02:31 +02:00
2016-10-27 18:43:43 -07:00
2016-10-09 12:23:38 -07:00
2016-10-11 15:06:33 -07:00
2016-10-11 15:06:33 -07:00
2016-10-11 15:06:33 -07:00
2016-12-06 16:08:10 -08:00
2017-01-19 20:17:59 +01:00
2017-01-19 20:17:59 +01:00
2017-01-06 10:40:13 +01:00
2017-01-06 10:40:13 +01:00
2017-02-01 08:33:04 +01:00
2017-01-15 13:42:55 +01:00
2017-02-01 08:33:08 +01:00
2016-10-19 11:36:22 -06:00
2016-11-29 23:17:02 -05:00
2016-11-30 16:32:52 -08:00
2017-01-12 11:39:36 +01:00
2016-11-23 16:23:23 -06:00
2016-10-28 11:06:25 +02:00
2016-10-14 11:36:59 -07:00
2017-01-06 10:40:15 +01:00
2016-10-08 11:06:08 -04:00
2016-10-09 12:23:38 -07:00
2017-01-06 10:40:13 +01:00
2016-10-11 15:06:30 -07:00
2016-10-15 10:03:15 -07:00
2017-01-26 08:24:37 +01:00
2016-10-29 12:14:39 -06:00
2016-10-11 15:06:32 -07:00
2017-01-06 10:40:13 +01:00
2016-10-11 15:06:33 -07:00
2016-10-26 17:31:23 -04:00
2017-01-19 20:17:59 +01:00
2017-01-26 08:24:44 +01:00
2016-10-17 09:50:56 -07:00
2016-10-20 13:27:47 +02:00
2016-10-10 13:38:49 -07:00
2016-10-08 10:27:10 +02:00
2016-10-07 21:48:36 -04:00