From 3ce0f78a89a484d329752d0ef3ef8a27de37a24d Mon Sep 17 00:00:00 2001 From: zec Date: Wed, 28 Mar 2012 12:30:16 +0000 Subject: Permit tcpdrop in VNET jails. Submitted by: Miljenko Mikuc MFC after: 3 days --- sys/netinet/tcp_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 1270f1a..a86d8f7 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -2184,7 +2184,7 @@ sysctl_drop(SYSCTL_HANDLER_ARGS) return (error); } -SYSCTL_PROC(_net_inet_tcp, TCPCTL_DROP, drop, +SYSCTL_VNET_PROC(_net_inet_tcp, TCPCTL_DROP, drop, CTLTYPE_STRUCT|CTLFLAG_WR|CTLFLAG_SKIP, NULL, 0, sysctl_drop, "", "Drop TCP connection"); -- cgit v1.1