Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2009 20:33:12 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197868 - head/sys/netinet
Message-ID:  <200910082033.n98KXC8O032354@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Thu Oct  8 20:33:12 2009
New Revision: 197868
URL: http://svn.freebsd.org/changeset/base/197868

Log:
  Use correct arguments when calling SCTP_RTALLOC().
  
  Approved by: rrs (mentor)
  MFC after: 0 days

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Thu Oct  8 19:45:37 2009	(r197867)
+++ head/sys/netinet/sctp_output.c	Thu Oct  8 20:33:12 2009	(r197868)
@@ -3570,7 +3570,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) {
@@ -3924,7 +3924,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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910082033.n98KXC8O032354>