locking problems in IPv6 code

From: John-Mark Gurney <gurney_j_at_efn.org>
Date: Thu, 19 Jun 2003 15:17:03 -0700
I am running FreeBSD 5.1-R on a sparc64 machine, and am getting warnings
about mallocing data w/ a lock aquired.

dmesg output:
malloc() of "64" with the following non-sleepablelocks held:
exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked _at_ net/netisr.c:215
malloc() of "64" with the following non-sleepablelocks held:
exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked _at_ net/netisr.c:215
malloc() of "32" with the following non-sleepablelocks held:
exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked _at_ net/netisr.c:215
malloc() of "64" with the following non-sleepablelocks held:
exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked _at_ net/netisr.c:215
malloc() of "64" with the following non-sleepablelocks held:
exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked _at_ net/netisr.c:215

If I disable IPv6 in /etc/rc.conf, the above warnings don't appear.
I tried to follow the code path in IPv6's source, but it's soooo long
that I couldn't find where it might be allocating memory.

Anyone have any ideas?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Thu Jun 19 2003 - 13:16:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC