summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
AgeCommit message (Expand)Author
2022-03-28driver(9): devsw_detach never fails. Make it return void.riastradh
2022-03-15tun(4): Fix bug introduced in previous locking change.riastradh
2022-03-13tun(4): Fix some error branches in tunwrite.riastradh
2022-03-13tun(4): Omit TUN_RWAIT micro-optimization.riastradh
2022-03-13tun(4): Deliver SIGIO for hangup under tun_lock.riastradh
2022-03-13tun(4): Reduce lock from IPL_NET to IPL_SOFTNET.riastradh
2022-03-13tun(4): Reduce tun_softc_lock from IPL_NET to IPL_NONE.riastradh
2022-03-13tun(4): Factor out setup/teardown into separate routines.riastradh
2022-03-13tun(4): Add missing cv_destroy in tunclose.riastradh
2021-09-26Use seltrue_filtops rather than rolling our own with filt_seltrue.thorpej
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
2020-12-18Use sel{record,remove}_knote().thorpej
2020-09-27tun: Report link state based on if the interface has been opened or notroy
2020-08-29Correct my rev1.159, it was incomplete, the check must be done latermaxv
2020-06-23Hum. Fix NULL deref triggerable with just write(0).maxv
2020-01-29Adopt <net/if_stats.h>.thorpej
2019-12-13Read the len before pushing the packet, otherwise possible use-after-free.maxv
2019-04-26Set the "required modules" to NULL, not to an empty string.pgoyette
2019-03-25in tundetach(), error is only used #ifdef _MODULE so wrap its declaration.pgoyette
2019-03-25Resequence the stuff in tundetach() to ensure that no new device unitspgoyette
2019-03-25 Revert rev. 1.151 and 1.152 to avoid compile error. Requested by pgoyette.msaitoh
2019-03-25Use correct list namepgoyette
2019-03-25This should do it!pgoyette
2019-03-25And revert both of the previous. It seems that the structure haspgoyette
2019-03-25Fix previous - remove it from the list before freeing the memory.pgoyette
2019-03-25If the unit being closed was a "zombie" (ie, the interface was destroyedpgoyette
2018-09-03Rename min/max -> uimin/uimax for better honesty.riastradh
2018-08-06Fix tun(4) kevent lockingozaki-r
2018-08-03tun: fix locking against myselfozaki-r
2018-06-26 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backwardmsaitoh
2018-03-16Add packet filtering to tun(4) interfaces.tih
2017-12-06Ensure to not turn on IFF_RUNNING of an interface until its initialization co...ozaki-r
2017-10-30Set IFEF_NO_LINK_STATE_CHANGE flag to pseudo devices that don't use if_link_s...ozaki-r
2017-10-25Use C99 initializer for filteropsmaya
2017-05-24Call cv_destroy() to deactivate the tun_cv before calling kmem_intr_free()pgoyette
2017-01-29Most error paths that goto out; don't hold tun_lock.maya
2017-01-26Fix logic inversion spotted by paulgskrll
2017-01-26Make MP-safe and use kmem(9)skrll
2017-01-23KNF. Same code before and after.skrll
2017-01-11Get rid of unnecessary header inclusionsozaki-r
2016-10-02MFREE -> m_freechristos
2016-09-07Fix tun_enableozaki-r
2016-09-07Rename tuncreate to tun_enableozaki-r
2016-09-05Support tun devices on rump kernelsozaki-r
2016-09-05Fix typo in a commentozaki-r
2016-08-07modularize some more drivers and merge the module gluechristos
2016-07-07Switch the address list of intefaces to pslist(9)ozaki-r
2016-06-10Introduce m_set_rcvif and m_reset_rcvifozaki-r
2016-04-28Constify rtentry of if_outputozaki-r
2016-04-20IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE callerknakahara