Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2013 20:37:57 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r247938 - stable/8/sys/netinet
Message-ID:  <201303072037.r27Kbvn6099713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Thu Mar  7 20:37:57 2013
New Revision: 247938
URL: http://svnweb.freebsd.org/changeset/base/247938

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

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

Modified: stable/8/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/8/sys/netinet/sctp_pcb.c	Thu Mar  7 20:36:17 2013	(r247937)
+++ stable/8/sys/netinet/sctp_pcb.c	Thu Mar  7 20:37:57 2013	(r247938)
@@ -2185,8 +2185,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;
 		}
@@ -2228,8 +2226,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;
 		}



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