Andrew Morton wrote: > I just retested bare net-2.6.22, pulled 30 minutes ago. I got just one > warning: > > BUG: at kernel/mutex-debug.c:82 debug_mutex_unlock() > [] debug_mutex_unlock+0x5a/0x134 > [] __mutex_unlock_slowpath+0x9d/0xcf > [] ipw_wx_set_encode+0x0/0x82 [ipw2200] > [] rtnl_unlock+0xa/0x29 > [] dev_ioctl+0x3d0/0x402 > [] __handle_mm_fault+0x7c6/0x7e8 > [] selinux_file_alloc_security+0x1f/0x40 > [] sock_ioctl+0x0/0x1be > [] do_ioctl+0x19/0x4d > [] vfs_ioctl+0x1ff/0x216 > [] sys_ioctl+0x4c/0x65 > [] syscall_call+0x7/0xb > [] unix_dgram_sendmsg+0x76/0x400 > ======================= > > It's 100% reproducible here, using > http://userweb.kernel.org/~akpm/config-sony.txt > > > The weird ASSERT_RTNL warnings aren't there, so something else in -mm > (prior to git-net.patch in the series file) would appear to be interacting > with net changes. I think I found the problem, the rtnl_mutex was reinitialized on every rtnetlink socket creation. This is most likely responsible for both warnings.