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;
                }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to