Dmitry Torokhov
484836ec2d
netfilter: IDLETIMER: fix lockdep warning
...
Dynamically allocated sysfs attributes should be initialized with
sysfs_attr_init() otherwise lockdep will be angry with us:
[ 45.468653] BUG: key ffffffc030fad4e0 not in .data!
[ 45.468655] ------------[ cut here ]------------
[ 45.468666] WARNING: CPU: 0 PID: 1176 at /mnt/host/source/src/third_party/kernel/v3.18/kernel/locking/lockdep.c:2991 lockdep_init_map+0x12c/0x490()
[ 45.468672] DEBUG_LOCKS_WARN_ON(1)
[ 45.468672] CPU: 0 PID: 1176 Comm: iptables Tainted: G U W 3.18.0 #43
[ 45.468674] Hardware name: XXX
[ 45.468675] Call trace:
[ 45.468680] [<ffffffc0002072b4>] dump_backtrace+0x0/0x10c
[ 45.468683] [<ffffffc0002073d0>] show_stack+0x10/0x1c
[ 45.468688] [<ffffffc000a86cd4>] dump_stack+0x74/0x94
[ 45.468692] [<ffffffc000217ae0>] warn_slowpath_common+0x84/0xb0
[ 45.468694] [<ffffffc000217b84>] warn_slowpath_fmt+0x4c/0x58
[ 45.468697] [<ffffffc0002530a4>] lockdep_init_map+0x128/0x490
[ 45.468701] [<ffffffc000367ef0>] __kernfs_create_file+0x80/0xe4
[ 45.468704] [<ffffffc00036862c>] sysfs_add_file_mode_ns+0x104/0x170
[ 45.468706] [<ffffffc00036870c>] sysfs_create_file_ns+0x58/0x64
[ 45.468711] [<ffffffc000930430>] idletimer_tg_checkentry+0x14c/0x324
[ 45.468714] [<ffffffc00092a728>] xt_check_target+0x170/0x198
[ 45.468717] [<ffffffc000993efc>] check_target+0x58/0x6c
[ 45.468720] [<ffffffc000994c64>] translate_table+0x30c/0x424
[ 45.468723] [<ffffffc00099529c>] do_ipt_set_ctl+0x144/0x1d0
[ 45.468728] [<ffffffc0009079f0>] nf_setsockopt+0x50/0x60
[ 45.468732] [<ffffffc000946870>] ip_setsockopt+0x8c/0xb4
[ 45.468735] [<ffffffc0009661c0>] raw_setsockopt+0x10/0x50
[ 45.468739] [<ffffffc0008c1550>] sock_common_setsockopt+0x14/0x20
[ 45.468742] [<ffffffc0008bd190>] SyS_setsockopt+0x88/0xb8
[ 45.468744] ---[ end trace 41d156354d18c039 ]---
Signed-off-by: Dmitry Torokhov <dtor@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2015-07-13 17:23:25 +02:00
..
2015-06-14 10:40:18 +02:00
2015-05-25 13:25:34 -04:00
2015-06-23 06:23:23 -07:00
2015-06-15 17:26:37 +02:00
2015-05-26 18:41:23 +02:00
2015-03-18 10:51:35 +01:00
2015-02-22 15:59:54 -05:00
2015-01-15 01:50:25 -05:00
2014-06-25 19:15:38 +02:00
2015-03-18 10:51:35 +01:00
2012-06-16 15:08:49 +02:00
2014-10-14 02:18:24 +02:00
2015-05-25 13:25:33 -04:00
2014-10-30 17:35:30 +01:00
2013-04-18 20:27:55 +02:00
2014-11-05 14:10:33 -05:00
2013-07-31 16:39:18 +02:00
2015-07-10 14:18:03 +02:00
2014-04-08 10:56:12 +02:00
2014-11-05 14:10:33 -05:00
2015-06-12 14:06:24 +02:00
2014-11-05 14:10:33 -05:00
2014-11-05 14:10:33 -05:00
2015-05-15 20:50:56 +02:00
2014-11-05 14:10:33 -05:00
2014-11-05 14:10:33 -05:00
2014-01-03 23:41:37 +01:00
2013-02-19 02:48:05 +01:00
2015-01-05 13:52:20 +01:00
2014-10-14 02:18:24 +02:00
2013-01-18 00:28:18 +01:00
2014-11-05 14:11:02 -05:00
2013-04-18 20:27:55 +02:00
2013-01-23 12:56:02 +01:00
2013-12-20 14:58:29 +01:00
2015-06-23 06:23:23 -07:00
2015-04-08 16:49:08 +02:00
2015-03-19 11:14:48 +01:00
2013-04-18 20:27:55 +02:00
2014-08-23 12:21:21 -07:00
2013-02-19 02:48:05 +01:00
2013-08-28 00:26:48 +02:00
2014-01-06 14:17:17 +01:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2014-06-30 11:38:03 +02:00
2012-08-30 03:00:14 +02:00
2014-11-27 13:08:42 +01:00
2014-10-14 02:18:24 +02:00
2013-02-19 02:48:05 +01:00
2015-07-02 15:03:13 +02:00
2014-08-08 16:47:23 +02:00
2015-06-18 21:14:30 +02:00
2015-06-15 23:02:35 +02:00
2015-06-23 06:23:22 -07:00
2014-01-09 23:25:48 +01:00
2015-06-15 23:02:35 +02:00
2014-08-26 21:36:19 +02:00
2015-03-12 13:07:36 +01:00
2013-10-01 13:17:39 +02:00
2015-06-18 21:14:27 +02:00
2015-06-23 06:23:23 -07:00
2013-08-28 00:26:48 +02:00
2015-07-02 17:59:33 +02:00
2015-04-13 17:17:30 +02:00
2015-04-13 17:17:29 +02:00
2015-04-13 17:17:30 +02:00
2015-05-15 20:14:07 +02:00
2015-04-13 20:12:31 +02:00
2015-04-13 17:17:29 +02:00
2015-04-13 20:19:55 +02:00
2015-04-13 17:17:29 +02:00
2015-04-13 17:17:31 +02:00
2015-04-13 17:17:30 +02:00
2015-04-13 20:12:31 +02:00
2015-04-13 17:17:07 +02:00
2015-04-13 20:12:32 +02:00
2015-01-19 14:52:39 +01:00
2015-04-13 17:17:29 +02:00
2015-04-13 17:17:29 +02:00
2015-04-13 17:17:29 +02:00
2015-04-13 17:17:07 +02:00
2015-04-13 17:17:31 +02:00
2015-04-13 17:17:28 +02:00
2015-04-27 13:20:34 -04:00
2015-04-27 13:20:34 -04:00
2015-06-15 20:19:20 +02:00
2015-05-25 13:25:33 -04:00
2014-03-13 14:13:19 +01:00
2014-08-02 15:03:58 -07:00
2015-04-01 11:26:42 +02:00
2014-08-23 12:21:21 -07:00
2014-09-10 12:40:10 -07:00
2013-01-18 00:28:15 +01:00
2014-11-17 12:44:20 +01:00
2013-12-06 12:37:57 -05:00
2013-04-18 20:27:55 +02:00
2014-02-05 17:46:06 +01:00
2014-11-13 12:14:42 +01:00
2011-12-27 20:45:25 +01:00
2014-11-05 14:11:02 -05:00
2014-08-23 12:21:21 -07:00
2015-07-13 17:23:25 +02:00
2014-02-19 11:41:25 +01:00
2012-09-28 11:34:33 +09:00
2014-01-09 21:36:39 +01:00
2014-08-05 18:46:26 -07:00
2013-04-18 20:27:55 +02:00
2014-06-28 18:50:35 +02:00
2012-05-09 20:49:18 -04:00
2015-05-14 13:00:27 +02:00
2012-10-15 13:39:12 +02:00
2012-09-21 12:11:08 +02:00
2014-04-29 18:25:14 +02:00
2013-05-15 14:11:07 +02:00
2013-12-07 23:20:45 +01:00
2014-12-23 14:20:10 +01:00
2012-08-14 21:55:30 -07:00
2015-04-08 16:49:09 +02:00
2011-10-31 19:30:28 -04:00
2013-06-11 02:51:03 -07:00
2014-09-30 01:02:26 -04:00
2015-02-16 17:00:47 +01:00
2014-11-27 13:08:42 +01:00
2014-06-07 11:44:39 -07:00
2015-06-14 10:40:18 +02:00
2015-06-18 13:05:09 +02:00
2014-01-14 15:15:25 -08:00
2015-02-22 15:59:54 -05:00
2015-05-15 20:14:07 +02:00
2013-08-01 11:45:15 +02:00
2015-05-25 13:25:34 -04:00
2012-09-24 14:29:01 +02:00
2015-04-13 16:40:05 -04:00