aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-06-14 22:59:04 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-06-14 22:59:04 +0000
commit80fefe0a08e48a20d6e91582402d004a26d57f2e (patch)
tree54d00675be01f15ab0ef5ba5c19c020edee43762 /sys/netinet6
parentdcb5531bb2d4ee449d38fa238d3a0c7e29f27040 (diff)
downloadsrc-80fefe0a08e48a20d6e91582402d004a26d57f2e.tar.gz
src-80fefe0a08e48a20d6e91582402d004a26d57f2e.zip
- Fix so ifn's are properly deleted when the ref count goes to 0.
- Fix so VRF's will clean themselves up when no references are around. - Allow sctp_ifa to be passed into inpcb_bind, addr_mgmt_ep_sa to bypass normal validation checks. - turn auto-asconf off for subset bound sockets - Moves all logging to use KTR. This gets rid of most of the logging #ifdef's with a few exceptions reducing the number of config options for SCTP.
Notes
Notes: svn path=/head/; revision=170744
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/sctp6_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c
index 667184c0d4b7..190a5e942917 100644
--- a/sys/netinet6/sctp6_usrreq.c
+++ b/sys/netinet6/sctp6_usrreq.c
@@ -617,7 +617,7 @@ sctp6_bind(struct socket *so, struct sockaddr *addr, struct thread *p)
in6_sin6_2_sin(&sin, sin6_p);
inp6->inp_vflag |= INP_IPV4;
inp6->inp_vflag &= ~INP_IPV6;
- error = sctp_inpcb_bind(so, (struct sockaddr *)&sin, p);
+ error = sctp_inpcb_bind(so, (struct sockaddr *)&sin, NULL, p);
return error;
}
}
@@ -637,7 +637,7 @@ sctp6_bind(struct socket *so, struct sockaddr *addr, struct thread *p)
return EINVAL;
}
}
- error = sctp_inpcb_bind(so, addr, p);
+ error = sctp_inpcb_bind(so, addr, NULL, p);
return error;
}