kern/137164: [socket] [panic] assert panic imo_match_source()

Stef Walter stef-list at memberwebs.com
Thu Sep 10 06:00:12 UTC 2009


The following reply was made to PR kern/137164; it has been noted by GNATS.

From: Stef Walter <stef-list at memberwebs.com>
To: bug-followup at FreeBSD.org, jhanna at 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--
 


More information about the freebsd-bugs mailing list