diff options
author | zec <zec@FreeBSD.org> | 2012-03-28 12:30:16 +0000 |
---|---|---|
committer | zec <zec@FreeBSD.org> | 2012-03-28 12:30:16 +0000 |
commit | 3ce0f78a89a484d329752d0ef3ef8a27de37a24d (patch) | |
tree | e6ee6d7aa4d432d16144912c4c8c4dbebfbf914c | |
parent | de5013d7b6efb58c86955f3cb79b7715ecc992f5 (diff) | |
download | FreeBSD-src-3ce0f78a89a484d329752d0ef3ef8a27de37a24d.zip FreeBSD-src-3ce0f78a89a484d329752d0ef3ef8a27de37a24d.tar.gz |
Permit tcpdrop in VNET jails.
Submitted by: Miljenko Mikuc
MFC after: 3 days
-rw-r--r-- | sys/netinet/tcp_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |