Panic in imo_match_source (netinet/in_mcast.c)

Stef Walter stef-list at memberwebs.com
Tue Sep 8 16:15:31 UTC 2009


Shteryana Shopova wrote:
> I actually managed to get the same kernel dump using the following
> sample code - http://people.freebsd.org/~syrinx/mcast/mcast_crash.c
> and the crash is 100% reproducable. A temporary fix is here -
> http://people.freebsd.org/~syrinx/mcast/in_mcast.c-20090908-01.diff
> but I actually prefer that we go over the logic in inp_join_group()
> again before proposing a patch for head as this is the second assert
> panic I am seeing it causes in the last few days. I can try making up
> a proper fix if Bruce is busy, but it will take a day or two until I'm
> able to fully test it.

Hmmmm, EADDRINUSE ... This sounds very familiar. Here's an old quagga
bug that I don't think got patched properly. It does an unexpected
double IP_ADD_MEMBERSHIP:

http://bugzilla.quagga.net/show_bug.cgi?id=212

I'll test the patch here. Thanks!

Cheers,

Stef






More information about the freebsd-net mailing list