summaryrefslogtreecommitdiff
path: root/sys/net/pf_if.c
AgeCommit message (Expand)Author
2023-05-18Assert pf lock on interface handlingKlemens Nanni
2022-11-22Interface tables (a.k.a. kif) in pf(4) are currently protectedAlexandr Nedvedicky
2022-11-21Replace manual loop and duplicate RB_NEXT with RB_FOREACHKlemens Nanni
2022-11-21Fix DIOCIGETIFACES ioctl so all network interfacesAlexandr Nedvedicky
2022-06-26Allow waiting during ktable allocation in pf_ioctl.mbuhl
2022-05-16pfi_kif_alloc() may be called with M_NOWAIT. Add NULL check toAlexander Bluhm
2022-04-29Release PF und NET lock before calling copyout for DIOCIGETIFACES.mbuhl
2021-12-26make 'set skip on ...' in pf.conf dynamicAlexandr Nedvedicky
2021-12-06fix odd check in pfi_kif_free()Alexandr Nedvedicky
2021-11-11Allow pfi_kif_get() callers to pre-allocate buffer for new kif. If kifAlexandr Nedvedicky
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2019-11-18don't leak the the task struct used for the addrhook in pfi_detach_ifnet.David Gwynne
2019-11-08convert interface address change hooks to tasks and a task_list.David Gwynne
2019-07-09Fix previous commit which made src-node have a reference for the kif.YASUOKA Masahiko
2018-12-10Remove useless macroskn
2018-07-11Disambiguate the source of panics in sys/net* by adding __func__Nayden Markatchev
2018-07-11provide pfi_group_addmember(), which makes the new member interface inheritHenning Brauer
2018-04-24Fix copy and paste typo in pfi_kif_unref route error message.Alexander Bluhm
2018-02-06some finger muscle workout:Henning Brauer
2017-05-30sizes for free()Theo de Raadt
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2016-12-12Kill recursive splsoftnet().Martin Pieuchot
2016-11-16Kill recursive splsoftnet()s.Martin Pieuchot
2016-09-27roll back turning RB into RBT until i get better at this process.David Gwynne
2016-09-27move pf from the RB macros to the RBT functions.David Gwynne
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-02pool_setipl for pf bitsDavid Gwynne
2015-11-20shuffle struct ifqueue so in flight mbufs are protected by a mutex.David Gwynne
2015-10-30Clean up handling of 'clear states' pfsync packets.Mike Belopuhov
2015-09-04The pf_osfp_pl and pf_osfp_entry_pl never get used in interrupt context.Mark Kettenis
2015-07-21- added /* FALLTHROUGH */ comments, typecasts (u_int32_t)-1, ...Alexandr Nedvedicky
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-12-02replace some malloc multiplies with mallocarry. ok deraadt henningTed Unangst
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-01-227x bcopy -> memcpy, impossibility of overlaps verified. ok benno dlgHenning Brauer
2014-01-21introduce a way to match "any" interface, excluding loopback ones.Henning Brauer
2014-01-08Name the local variables for struct ifaddr consistently "ifa".Alexander Bluhm
2014-01-03Make queues disappear correctly on interfaces being destroyed.pelikan
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-08-30Missing splx on return path.Christiano F. Haesbaert
2013-06-20Revert previous and unbreak asr, the new include should be protected.Martin Pieuchot
2013-06-20Allocate the various hook head descriptors as part of the ifnetMartin Pieuchot
2012-12-28change the malloc(9) flags from M_DONTWAIT to M_NOWAIT; OK millert@Gleydson Soares
2011-07-28fix set skip group matching: don't match partial strings, i. e. 'set skip onHenning Brauer
2011-05-20Change 'set skip on <...>' to work with interface groups.Stuart Henderson
2010-06-28Clean up iterface stats handling:Ryan Thomas McBride