Re: Panic in imo_match_source (netinet/in_mcast.c)
- From: Shteryana Shopova <shteryana@xxxxxxxxx>
- Date: Tue, 8 Sep 2009 16:54:52 +0300
Hi,
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.
cheers,
Shteryana
On Tue, Sep 8, 2009 at 4:13 PM, Bruce Simpson<bms@xxxxxxxxxxxxxxx> wrote:
[Brief reply as I'm meant to be doing a zillion other things...]_______________________________________________
Bruce Simpson wrote:
Full OS version, dmesg, panic and backtrace please, when reporting this
kind of issue... otherwise folk can't help. Are you using SSM multicast
features?
P.S. You might want to try demoting the KASSERT to a conditional error
return (return no match if src is NULL or src->sa_family != AF_INET), and
see if that fix 'just works' for you. Sometimes the asserts I sprinkle into
code are too paranoid for what's going on, and syrinx@ recently caught one
of those.
I can see some situations where this could kick off, so that is probably the
right fix. Please do let me know. If that fix works for you then it can
probably be checked in. There is an RC cutoff looming, so if I can't do it
in time, someone else may be able to check it in.
thanks,
BMS
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Panic in imo_match_source (netinet/in_mcast.c)
- From: Stef Walter
- Re: Panic in imo_match_source (netinet/in_mcast.c)
- From: Bruce Simpson
- Re: Panic in imo_match_source (netinet/in_mcast.c)
- References:
- Re: Panic in imo_match_source (netinet/in_mcast.c)
- From: Bruce Simpson
- Re: Panic in imo_match_source (netinet/in_mcast.c)
- From: Bruce Simpson
- Re: Panic in imo_match_source (netinet/in_mcast.c)
- Prev by Date: Re: Panic in imo_match_source (netinet/in_mcast.c)
- Next by Date: Re: Panic in imo_match_source (netinet/in_mcast.c)
- Previous by thread: Re: Panic in imo_match_source (netinet/in_mcast.c)
- Next by thread: Re: Panic in imo_match_source (netinet/in_mcast.c)
- Index(es):
Relevant Pages
|