Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110013825
D25635.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25635.diff
View Options
Index: head/sys/netinet/sctp_syscalls.c
===================================================================
--- head/sys/netinet/sctp_syscalls.c
+++ head/sys/netinet/sctp_syscalls.c
@@ -32,8 +32,6 @@
__FBSDID("$FreeBSD$");
#include "opt_capsicum.h"
-#include "opt_inet.h"
-#include "opt_inet6.h"
#include "opt_sctp.h"
#include "opt_ktrace.h"
@@ -139,8 +137,6 @@
/*
* SCTP syscalls.
- * Functionality only compiled in if SCTP is defined in the kernel Makefile,
- * otherwise all return EOPNOTSUPP.
*/
int
sys_sctp_peeloff(td, uap)
@@ -150,7 +146,6 @@
caddr_t name;
} */ *uap;
{
-#if defined(INET) || defined(INET6)
struct file *headfp, *nfp = NULL;
struct socket *head, *so;
cap_rights_t rights;
@@ -212,7 +207,6 @@
fdrop(headfp, td);
done2:
return (error);
-#endif
}
int
@@ -228,7 +222,6 @@
int flags
} */ *uap;
{
-#if defined(INET) || defined(INET6)
struct sctp_sndrcvinfo sinfo, *u_sinfo = NULL;
struct socket *so;
struct file *fp = NULL;
@@ -323,7 +316,6 @@
sctp_bad2:
free(to, M_SONAME);
return (error);
-#endif
}
int
@@ -339,7 +331,6 @@
int flags
} */ *uap;
{
-#if defined(INET) || defined(INET6)
struct sctp_sndrcvinfo sinfo, *u_sinfo = NULL;
struct socket *so;
struct file *fp = NULL;
@@ -451,7 +442,6 @@
sctp_bad2:
free(to, M_SONAME);
return (error);
-#endif
}
int
@@ -467,7 +457,6 @@
int *msg_flags
} */ *uap;
{
-#if defined(INET) || defined(INET6)
uint8_t sockbufstore[256];
struct uio auio;
struct iovec *iov, *tiov;
@@ -597,5 +586,4 @@
fdrop(fp, td);
return (error);
-#endif
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 13, 12:03 PM (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16627413
Default Alt Text
D25635.diff (1 KB)
Attached To
Mode
D25635: Cleanup sctp_syscalls.c
Attached
Detach File
Event Timeline
Log In to Comment