[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOvk4sHM0buk8TW1w8n3EgnNHh6r=57RTUQXKNrCeBFcXjQ7Sg@mail.gmail.com>
Date: Thu, 23 Feb 2012 13:04:09 +0530
From: chaitanya g <chaitanyag3.14@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Linux kernel : sysctl registering table under same proc name (path)
gives warning and call trace while unregistering
Hello there,
I am creating a sysctl kernel module to register 2 hierarchy under
same proc name. For e.g.
my_net
| |
net1 net2
| |
t1 t2
So, I used register_sysctl_paths() API. Everything works fine when
registering the sysctl tables net1 net2 under path name my_net.
Problem is when unregistering the tables dmesg shows kernel tainted
warning and a call trace.
Here, is pastebin link to the warning message http://pastebin.com/NfLQhikJ
Here is pastebin link to module source http://pastebin.com/jSfPW5Y5
Kindly, please help me to resolve this panic.
Thanks,
Chaitanya
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists