Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 09:50:01 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-usb@FreeBSD.org
Subject:   Re: usb/182820: commit references a PR
Message-ID:  <201310100950.r9A9o12A023573@freefall.freebsd.org>

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/182820: commit references a PR
Date: Thu, 10 Oct 2013 09:43:22 +0000 (UTC)

 Author: hrs
 Date: Thu Oct 10 09:43:15 2013
 New Revision: 256258
 URL: http://svnweb.freebsd.org/changeset/base/256258
 
 Log:
   Do not try to detach if the interface does not support IPv6.
   
   Tested by:	hselasky
   PR:		usb/182820
   Approved by:	re (glebius)
 
 Modified:
   head/sys/netinet6/in6_ifattach.c
 
 Modified: head/sys/netinet6/in6_ifattach.c
 ==============================================================================
 --- head/sys/netinet6/in6_ifattach.c	Thu Oct 10 09:42:41 2013	(r256257)
 +++ head/sys/netinet6/in6_ifattach.c	Thu Oct 10 09:43:15 2013	(r256258)
 @@ -809,6 +809,9 @@ in6_ifdetach(struct ifnet *ifp)
  	struct sockaddr_in6 sin6;
  	struct in6_multi_mship *imm;
  
 +	if (ifp->if_afdata[AF_INET6] == NULL)
 +		return;
 +
  	/* remove neighbor management table */
  	nd6_purge(ifp);
  
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



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