Kinglong Mee
c929ea0b91
SUNRPC: cleanup ida information when removing sunrpc module
...
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: 2f048db4680a ("SUNRPC: Add an identifier for struct rpc_clnt")
Cc: stable@vger.kernel.org # v3.12+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2017-01-24 15:29:24 -05:00
..
2017-01-12 15:56:14 -05:00
2017-01-12 16:14:47 -05:00
2014-07-12 18:45:49 -04:00
2016-10-13 21:28:20 -07:00
2016-07-19 16:23:24 -04:00
2016-10-13 21:28:20 -07:00
2016-09-30 15:47:47 -04:00
2016-09-19 13:08:37 -04:00
2016-12-24 11:46:01 -08:00
2017-01-24 15:29:24 -05:00
2015-06-11 14:01:06 -04:00
2015-06-04 16:56:02 -04:00
2016-02-05 18:48:54 -05:00
2016-11-18 10:59:15 -05:00
2016-09-27 21:06:21 -04:00
2016-02-05 18:48:55 -05:00
2016-09-19 13:08:37 -04:00
2016-04-11 15:31:33 -04:00
2016-11-29 16:45:44 -05:00
2017-01-24 15:29:24 -05:00
2014-05-22 15:59:18 -04:00
2017-01-12 15:56:40 -05:00
2016-11-30 17:31:11 -05:00
2016-10-07 18:46:30 -07:00
2016-12-06 14:18:30 -05:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2012-04-15 12:44:40 -04:00
2016-09-22 17:17:47 -04:00
2016-12-01 17:40:41 -05:00
2016-09-19 13:08:36 -04:00
2016-11-15 10:54:36 -05:00