Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2012 08:21:08 +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-9@freebsd.org
Subject:   svn commit: r237906 - stable/9/sys/netinet
Message-ID:  <201207010821.q618L8uP076905@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}



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