summaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_device.c')
-rw-r--r--sys/netgraph/ng_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/ng_device.c b/sys/netgraph/ng_device.c
index ae3237fa33da..7bd1ed0be6b0 100644
--- a/sys/netgraph/ng_device.c
+++ b/sys/netgraph/ng_device.c
@@ -113,6 +113,8 @@ static d_ioctl_t ngdioctl;
static d_poll_t ngdpoll;
static struct cdevsw ngd_cdevsw = {
+ .d_version = D_VERSION,
+ .d_flags = D_NEEDGIANT,
.d_open = ngdopen,
.d_close = ngdclose,
.d_read = ngdread,