lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectLinux 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


\
 
 \ /
  Last update: 2012-02-23 08:37    [W:0.286 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site