Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2009 06:00:12 GMT
From:      Stef Walter <stef-list@memberwebs.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/137164: [socket] [panic] assert panic imo_match_source()
Message-ID:  <200909100600.n8A60C1C058477@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/137164; it has been noted by GNATS.

From: Stef Walter <stef-list@memberwebs.com>
To: bug-followup@FreeBSD.org, jhanna@pangolin-systems.com
Cc:  
Subject: Re: kern/137164: [socket] [panic] assert panic imo_match_source()
Date: Thu, 10 Sep 09 06:00:10 UTC

 This is a multi-part message in MIME format.
 --------------060002070100090400000100
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 This patch (by Shteryana Shopova) fixes the problem.
 
 --------------060002070100090400000100
 Content-Type: text/x-diff;
  name="freebsd-mcast-eaddrinuse.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="freebsd-mcast-eaddrinuse.patch"
 
 --- sys/netinet/in_mcast.c.orig	2009-08-03 08:13:06.000000000 +0000
 +++ sys/netinet/in_mcast.c	2009-09-09 01:35:06.000000000 +0000
 @@ -1964,4 +1964,8 @@
  	if (idx == -1) {
  		is_new = 1;
 +	} else if (sopt->sopt_name == IP_ADD_MEMBERSHIP) {
 +		/* Trying to join the same Any-source group again. */
 +		error = EADDRINUSE;
 +		goto out_inp_locked;
  	} else {
  		inm = imo->imo_membership[idx];
 
 
 --------------060002070100090400000100--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909100600.n8A60C1C058477>