aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_pipe.c
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2016-10-18 15:41:57 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2016-10-18 15:41:57 +0000
commit6ad42d71b2c2d6afb14e8328d8bb1ba5b00919f8 (patch)
tree40d5236306217975147879f4f9cf7fbd2cb702c8 /sys/dev/netmap/netmap_pipe.c
parentfbb9e715c022b92ee8aff08cc77077cfa3bc23fe (diff)
Notes
Diffstat (limited to 'sys/dev/netmap/netmap_pipe.c')
-rw-r--r--sys/dev/netmap/netmap_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/netmap/netmap_pipe.c b/sys/dev/netmap/netmap_pipe.c
index f0f1b524300a..f00f73f8b9b2 100644
--- a/sys/dev/netmap/netmap_pipe.c
+++ b/sys/dev/netmap/netmap_pipe.c
@@ -92,7 +92,7 @@ nm_pipe_alloc(struct netmap_adapter *na, u_int npipes)
if (npipes <= na->na_max_pipes)
/* we already have more entries that requested */
return 0;
-
+
if (npipes < na->na_next_pipe || npipes > NM_MAXPIPES)
return EINVAL;
@@ -402,7 +402,7 @@ netmap_pipe_reg(struct netmap_adapter *na, int onoff)
}
}
}
-
+
/* create all missing needed rings on the other end */
error = netmap_mem_rings_create(ona);
if (error)