Kinglong Mee
cb1d48f55a
SUNRPC: cleanup ida information when removing sunrpc module
...
commit c929ea0b910355e1876c64431f3d5802f95b3d75 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: 2f048db4680a ("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-09-19 20:19:34 +02:00
2016-09-23 13:47:44 -04:00
2016-10-20 14:32:22 -04:00
2016-09-10 21:19:10 -07:00
2016-09-10 21:19:10 -07:00
2016-06-18 20:55:34 -07:00
2016-12-02 10:46:59 +01:00
2016-11-22 22:50:46 +01:00
2017-01-19 20:18:01 +01:00
2016-12-05 14:48:48 -05:00
2016-12-07 10:45:57 +01:00
2017-01-26 08:24:46 +01:00
2017-01-15 13:42:55 +01:00
2016-12-03 23:54:25 -05:00
2016-11-29 20:37:26 -05:00
2016-07-05 14:08:47 -07:00
2017-01-15 13:42:55 +01:00
2016-10-20 14:32:22 -04:00
2016-10-18 10:28:18 -04:00
2016-07-08 13:23:12 +02:00
2017-01-15 13:42:55 +01:00
2017-01-15 13:42:55 +01:00
2016-09-23 06:46:57 -04:00
2017-01-19 20:18:04 +01:00
2016-10-07 15:36:58 -07:00
2016-11-30 14:14:08 -05:00
2016-09-10 23:12:53 -07:00
2016-05-29 22:33:25 -07:00
2016-09-17 10:05:05 -04:00
2017-01-26 08:24:39 +01:00
2016-09-19 20:19:34 +02:00
2016-12-05 13:25:55 -05:00
2016-10-20 11:23:08 -04:00
2016-11-24 14:43:35 +01:00
2016-06-27 15:06:18 -04:00
2016-12-05 19:43:42 -05:00
2016-07-11 02:02:03 +02:00
2016-11-30 11:00:45 -05:00
2016-12-02 12:16:49 -05:00
2016-05-17 14:11:19 -04:00
2016-12-02 13:29:26 -05:00
2016-07-13 11:53:40 -07:00
2016-10-13 08:43:17 +01:00
2017-01-15 13:42:53 +01:00
2017-01-15 13:42:52 +01:00
2016-10-12 01:51:49 -04:00
2017-02-01 08:33:09 +01:00
2016-10-19 10:58:04 -04:00
2016-12-02 14:03:20 -05:00
2016-11-18 13:58:39 -05:00
2017-01-09 08:32:23 +01:00
2017-01-19 20:18:00 +01:00
2016-09-09 18:13:30 -07:00
2016-11-30 10:58:53 +01: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
2016-11-17 00:00:23 -05:00
2016-10-06 09:52:23 -07:00