Author: tuexen
Date: Wed Jan 20 19:20:31 2010
New Revision: 202716
URL: http://svn.freebsd.org/changeset/base/202716

Log:
  MFC 197868
  
  Use correct arguments when calling SCTP_RTALLOC().

Modified:
  stable/7/sys/netinet/sctp_output.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/netinet/sctp_output.c
==============================================================================
--- stable/7/sys/netinet/sctp_output.c  Wed Jan 20 19:14:34 2010        
(r202715)
+++ stable/7/sys/netinet/sctp_output.c  Wed Jan 20 19:20:31 2010        
(r202716)
@@ -5397,7 +5397,7 @@ sctp_lowlevel_chunk_output(struct sctp_i
                                sctp_free_ifa(_lsrc);
                        } else {
                                ip->ip_src = over_addr->sin.sin_addr;
-                               SCTP_RTALLOC((&ro->ro_rt), vrf_id);
+                               SCTP_RTALLOC(ro, vrf_id);
                        }
                }
                if (port) {
@@ -5729,7 +5729,7 @@ sctp_lowlevel_chunk_output(struct sctp_i
                                sctp_free_ifa(_lsrc);
                        } else {
                                lsa6->sin6_addr = over_addr->sin6.sin6_addr;
-                               SCTP_RTALLOC((&ro->ro_rt), vrf_id);
+                               SCTP_RTALLOC(ro, vrf_id);
                        }
                        (void)sa6_recoverscope(sin6);
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to