Re: [patch v3 01/11] netlink: add reference of module in netlink_dump_start

2012-10-04 Thread Gao feng
于 2012年10月04日 23:41, Ben Hutchings 写道: > 'which' not 'witch' :-) > > Ben. thanks Ben,will fix it :) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch v3 01/11] netlink: add reference of module in netlink_dump_start

2012-10-04 Thread Ben Hutchings
On Thu, 2012-10-04 at 12:41 +0800, Gao feng wrote: > 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

[patch v3 01/11] netlink: add reference of module in netlink_dump_start

2012-10-03 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 witch the cb->dump belongs to. Thanks