Re: [patch v4 1/2] netlink: add reference of module in netlink_dump_start

2012-10-06 Thread David Miller
From: Gao feng gaof...@cn.fujitsu.com Date: Fri, 5 Oct 2012 14:15:48 +0800 I get a panic when I use ss -a and rmmod inet_diag at the same time. it's because netlink_dump use inet_diag_dump witch function belongs to module inet_diag. I search the codes and find many modules have the same

[patch v4 1/2] netlink: add reference of module in netlink_dump_start

2012-10-05 Thread Gao feng
I get a panic when I use ss -a and rmmod inet_diag at the same time. it's because netlink_dump use inet_diag_dump witch function belongs to module inet_diag. I search the codes and find many modules have the same problem. We need add reference of the module which the cb-dump belongs to. Thanks