svn commit: r237906 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Jul 1 08:21:09 UTC 2012


Author: tuexen
Date: Sun Jul  1 08:21:08 2012
New Revision: 237906
URL: http://svn.freebsd.org/changeset/base/237906

Log:
  MFC r236522:
  Remove code which is not needed.

Modified:
  stable/9/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/9/sys/netinet/sctp_pcb.c	Sun Jul  1 08:20:13 2012	(r237905)
+++ stable/9/sys/netinet/sctp_pcb.c	Sun Jul  1 08:21:08 2012	(r237906)
@@ -2187,8 +2187,6 @@ sctp_findassociation_addr(struct mbuf *m
 			from6->sin6_addr = ip6->ip6_src;
 			from6->sin6_port = sh->src_port;
 			/* Get the scopes in properly to the sin6 addr's */
-			/* we probably don't need these operations */
-			(void)sa6_recoverscope(from6);
 			sa6_embedscope(from6, MODULE_GLOBAL(ip6_use_defzone));
 			break;
 		}
@@ -2230,8 +2228,6 @@ sctp_findassociation_addr(struct mbuf *m
 			to6->sin6_addr = ip6->ip6_dst;
 			to6->sin6_port = sh->dest_port;
 			/* Get the scopes in properly to the sin6 addr's */
-			/* we probably don't need these operations */
-			(void)sa6_recoverscope(to6);
 			sa6_embedscope(to6, MODULE_GLOBAL(ip6_use_defzone));
 			break;
 		}


More information about the svn-src-stable-9 mailing list