usb/182820: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Thu Oct 10 09:50:02 UTC 2013


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

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-usb mailing list