svn commit: r236522 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sun Jun 3 18:14:58 UTC 2012
Author: tuexen
Date: Sun Jun 3 18:14:57 2012
New Revision: 236522
URL: http://svn.freebsd.org/changeset/base/236522
Log:
Remove code which is not needed.
MFC after: 3 days
Modified:
head/sys/netinet/sctp_pcb.c
Modified: head/sys/netinet/sctp_pcb.c
==============================================================================
--- head/sys/netinet/sctp_pcb.c Sun Jun 3 18:05:19 2012 (r236521)
+++ head/sys/netinet/sctp_pcb.c Sun Jun 3 18:14:57 2012 (r236522)
@@ -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-all
mailing list