svn commit: r202716 - stable/7/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Wed Jan 20 19:20:32 UTC 2010


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);
 		}


More information about the svn-src-stable mailing list