summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-03-04 14:05:37 +0000
committerglebius <glebius@FreeBSD.org>2014-03-04 14:05:37 +0000
commit352d508b164f60d6e5de69dba908cd0b34e56a26 (patch)
tree1b60831ee15b733c4ba4cd5b13bc318c0af8b7f9 /sys/netinet/sctp_sysctl.c
parent4b9e17c3eff2269c8b3279791879d87a4fcca87e (diff)
downloadFreeBSD-src-352d508b164f60d6e5de69dba908cd0b34e56a26.zip
FreeBSD-src-352d508b164f60d6e5de69dba908cd0b34e56a26.tar.gz
Merge r261590: Fixup for r261590 (vnet sysctl handlers cleanup)
Diffstat (limited to 'sys/netinet/sctp_sysctl.c')
-rw-r--r--sys/netinet/sctp_sysctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c
index 53e9b04..77e59bd 100644
--- a/sys/netinet/sctp_sysctl.c
+++ b/sys/netinet/sctp_sysctl.c
@@ -587,11 +587,7 @@ sysctl_sctp_check(SYSCTL_HANDLER_ARGS)
{
int error;
-#ifdef VIMAGE
- error = vnet_sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
-#else
error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
-#endif
if (error == 0) {
RANGECHK(SCTP_BASE_SYSCTL(sctp_sendspace), SCTPCTL_MAXDGRAM_MIN, SCTPCTL_MAXDGRAM_MAX);
RANGECHK(SCTP_BASE_SYSCTL(sctp_recvspace), SCTPCTL_RECVSPACE_MIN, SCTPCTL_RECVSPACE_MAX);
OpenPOWER on IntegriCloud