diff options
| author | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2019-02-06 09:21:44 +0000 |
|---|---|---|
| committer | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2019-02-06 09:21:44 +0000 |
| commit | a6c4854471c2f726179bc33fcc8f30a1e8868de3 (patch) | |
| tree | 2ba30c614ec88b84f8af7d1e5c6a5fa0bcfd9052 /sys/dev/netmap/netmap.c | |
| parent | 090e7f614fb44b231a2c2886eb43a73639a476ed (diff) | |
Notes
Diffstat (limited to 'sys/dev/netmap/netmap.c')
| -rw-r--r-- | sys/dev/netmap/netmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c index 2d3db72f5773..8b508737e328 100644 --- a/sys/dev/netmap/netmap.c +++ b/sys/dev/netmap/netmap.c @@ -2531,7 +2531,6 @@ netmap_ioctl(struct netmap_priv_d *priv, u_long cmd, caddr_t data, } nifp = priv->np_nifp; - priv->np_td = td; /* for debugging purposes */ /* return the offset of the netmap_if object */ req->nr_rx_rings = na->num_rx_rings; @@ -3207,8 +3206,8 @@ nmreq_checkoptions(struct nmreq_header *hdr) * * Can be called for one or more queues. * Return true the event mask corresponding to ready events. - * If there are no ready events, do a selrecord on either individual - * selinfo or on the global one. + * If there are no ready events (and 'sr' is not NULL), do a + * selrecord on either individual selinfo or on the global one. * Device-dependent parts (locking and sync of tx/rx rings) * are done through callbacks. * |
