Author: tuexen
Date: Tue Feb 16 20:33:18 2016
New Revision: 295670
URL: https://svnweb.freebsd.org/changeset/base/295670

Log:
  Whitespace changes.

Modified:
  head/sys/netinet/sctp_asconf.c
  head/sys/netinet/sctp_bsd_addr.c
  head/sys/netinet/sctp_pcb.c
  head/sys/netinet/sctputil.c

Modified: head/sys/netinet/sctp_asconf.c
==============================================================================
--- head/sys/netinet/sctp_asconf.c      Tue Feb 16 20:11:00 2016        
(r295669)
+++ head/sys/netinet/sctp_asconf.c      Tue Feb 16 20:33:18 2016        
(r295670)
@@ -3278,7 +3278,7 @@ sctp_addr_mgmt_ep_sa(struct sctp_inpcb *
                            SCTP_ASOC_ANY_STATE,
                            (void *)asc, 0,
                            sctp_asconf_iterator_end, inp, 0);
-                       if (ret)  {
+                       if (ret) {
                                SCTP_PRINTF("Failed to initiate iterator for 
addr_mgmt_ep_sa\n");
                                SCTP_LTRACE_ERR_RET(inp, NULL, NULL, 
SCTP_FROM_SCTP_ASCONF, EFAULT);
                                sctp_asconf_iterator_end(asc, 0);

Modified: head/sys/netinet/sctp_bsd_addr.c
==============================================================================
--- head/sys/netinet/sctp_bsd_addr.c    Tue Feb 16 20:11:00 2016        
(r295669)
+++ head/sys/netinet/sctp_bsd_addr.c    Tue Feb 16 20:33:18 2016        
(r295670)
@@ -296,7 +296,6 @@ sctp_addr_change(struct ifaddr *ifa, int
        if (SCTP_BASE_VAR(sctp_pcb_initialized) == 0) {
                return;
        }
-
        /*
         * BSD only has one VRF, if this changes we will need to hook in the
         * right things here to get the id to pass to the address managment

Modified: head/sys/netinet/sctp_pcb.c
==============================================================================
--- head/sys/netinet/sctp_pcb.c Tue Feb 16 20:11:00 2016        (r295669)
+++ head/sys/netinet/sctp_pcb.c Tue Feb 16 20:33:18 2016        (r295670)
@@ -2821,6 +2821,8 @@ sctp_remove_laddr(struct sctp_laddr *lad
        SCTP_DECR_LADDR_COUNT();
 }
 
+
+
 /* sctp_ifap is used to bypass normal local address validation checks */
 int
 sctp_inpcb_bind(struct socket *so, struct sockaddr *addr,
@@ -5920,7 +5922,6 @@ sctp_pcb_finish(void)
                return;
        }
        SCTP_BASE_VAR(sctp_pcb_initialized) = 0;
-
        /*
         * In FreeBSD the iterator thread never exits but we do clean up.
         * The only way FreeBSD reaches here is if we have VRF's but we
@@ -6043,7 +6044,6 @@ retry:
        SCTP_ZONE_DESTROY(SCTP_BASE_INFO(ipi_zone_strmoq));
        SCTP_ZONE_DESTROY(SCTP_BASE_INFO(ipi_zone_asconf));
        SCTP_ZONE_DESTROY(SCTP_BASE_INFO(ipi_zone_asconf_ack));
-
 #if defined(__FreeBSD__) && defined(SMP) && defined(SCTP_USE_PERCPU_STAT)
        SCTP_FREE(SCTP_BASE_STATS, SCTP_M_MCORE);
 #endif
@@ -7057,7 +7057,6 @@ sctp_initiate_iterator(inp_func inpf,
                SCTP_FREE(it, SCTP_M_ITER);
                return (-1);
        }
-
        TAILQ_INSERT_TAIL(&sctp_it_ctl.iteratorhead, it, sctp_nxt_itr);
        if (sctp_it_ctl.iterator_running == 0) {
                sctp_wakeup_iterator();

Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Tue Feb 16 20:11:00 2016        (r295669)
+++ head/sys/netinet/sctputil.c Tue Feb 16 20:33:18 2016        (r295670)
@@ -1482,7 +1482,10 @@ sctp_handle_addr_wq(void)
                    sctp_asconf_iterator_end, NULL, 0);
                if (ret) {
                        SCTP_PRINTF("Failed to initiate iterator for 
handle_addr_wq\n");
-                       /* Freeing if we are stopping or put back on the 
addr_wq. */
+                       /*
+                        * Freeing if we are stopping or put back on the
+                        * addr_wq.
+                        */
                        if (SCTP_BASE_VAR(sctp_pcb_initialized) == 0) {
                                sctp_asconf_iterator_end(asc, 0);
                        } else {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to