Deleted Added
full compact
33c33
< __FBSDID("$FreeBSD: head/sys/netinet6/sctp6_usrreq.c 179157 2008-05-20 13:47:46Z rrs $");
---
> __FBSDID("$FreeBSD: head/sys/netinet6/sctp6_usrreq.c 179783 2008-06-14 07:58:05Z rrs $");
53a54
> #include <netinet/udp.h>
81a83
> uint16_t port = 0;
128c130
< if ((check == 0) && (sctp_no_csum_on_loopback) &&
---
> if ((check == 0) && (SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback)) &&
138a141,146
> if ((net) && (port)) {
> if (net->port == 0) {
> sctp_pathmtu_adjustment(in6p, stcb, net, net->mtu - sizeof(struct udphdr));
> }
> net->port = port;
> }
159a168,173
> if ((net) && (port)) {
> if (net->port == 0) {
> sctp_pathmtu_adjustment(in6p, stcb, net, net->mtu - sizeof(struct udphdr));
> }
> net->port = port;
> }
180c194
< sctp_send_shutdown_complete2(m, iphlen, sh, vrf_id, 0);
---
> sctp_send_shutdown_complete2(m, iphlen, sh, vrf_id, port);
187c201
< sctp_send_abort(m, iphlen, sh, 0, NULL, vrf_id, 0);
---
> sctp_send_abort(m, iphlen, sh, 0, NULL, vrf_id, port);
215c229
< in6p, stcb, net, ecn_bits, vrf_id, 0);
---
> in6p, stcb, net, ecn_bits, vrf_id, port);
387c401
< if (sctp_cmt_on_off && sctp_cmt_pf) {
---
> if (SCTP_BASE_SYSCTL(sctp_cmt_on_off) && SCTP_BASE_SYSCTL(sctp_cmt_pf)) {
647c661
< error = SCTP_SORESERVE(so, sctp_sendspace, sctp_recvspace);
---
> error = SCTP_SORESERVE(so, SCTP_BASE_SYSCTL(sctp_sendspace), SCTP_BASE_SYSCTL(sctp_recvspace));