aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_pipe.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2023-01-12 18:38:37 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2023-02-14 15:21:19 +0000
commite330262f34fc179ce920c16bb28ba8a1c4a73aff (patch)
treea69292f7d6c730557ee6ba2ee8c427594587e789 /sys/dev/netmap/netmap_pipe.c
parent4366ea339ddb0945d94a646fc991ff293c6ec526 (diff)
Diffstat (limited to 'sys/dev/netmap/netmap_pipe.c')
-rw-r--r--sys/dev/netmap/netmap_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/netmap/netmap_pipe.c b/sys/dev/netmap/netmap_pipe.c
index 01fd79dedc26..91cad520181c 100644
--- a/sys/dev/netmap/netmap_pipe.c
+++ b/sys/dev/netmap/netmap_pipe.c
@@ -657,7 +657,7 @@ netmap_get_pipe_na(struct nmreq_header *hdr, struct netmap_adapter **na,
struct nmreq_register *req = (struct nmreq_register *)(uintptr_t)hdr->nr_body;
struct netmap_adapter *pna; /* parent adapter */
struct netmap_pipe_adapter *mna, *sna, *reqna;
- struct ifnet *ifp = NULL;
+ if_t ifp = NULL;
const char *pipe_id = NULL;
int role = 0;
int error, retries = 0;