svn commit: r197868 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Oct 8 20:33:13 UTC 2009
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);
}
More information about the svn-src-all
mailing list