diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-01-12 18:38:37 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-02-14 15:21:19 +0000 |
| commit | e330262f34fc179ce920c16bb28ba8a1c4a73aff (patch) | |
| tree | a69292f7d6c730557ee6ba2ee8c427594587e789 /sys/dev/netmap/netmap_kloop.c | |
| parent | 4366ea339ddb0945d94a646fc991ff293c6ec526 (diff) | |
Mechanically convert netmap(4) to IfAPI
Reviewed by: vmaffione, zlei
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37814
Diffstat (limited to 'sys/dev/netmap/netmap_kloop.c')
| -rw-r--r-- | sys/dev/netmap/netmap_kloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/netmap/netmap_kloop.c b/sys/dev/netmap/netmap_kloop.c index d9cf13a89f8d..cde96bb025f4 100644 --- a/sys/dev/netmap/netmap_kloop.c +++ b/sys/dev/netmap/netmap_kloop.c @@ -1158,7 +1158,7 @@ netmap_pt_guest_attach(struct netmap_adapter *arg, unsigned int nifp_offset, unsigned int memid) { struct netmap_pt_guest_adapter *ptna; - struct ifnet *ifp = arg ? arg->ifp : NULL; + if_t ifp = arg ? arg->ifp : NULL; int error; /* get allocator */ |
