summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2022-12-16always keep pf_state_keys attached to pf_states.David Gwynne
2022-11-26Next step of netlock pressure decreasing in pppx(4).Vitaliy Makkoveev
2022-11-25revert pf.c r1.1152 again: move pf_purge out from under the kernel lockAlexander Bluhm
2022-11-25Revert previous commit. It was not properly tested and produces splassertMark Kettenis
2022-11-25get rid of NET_LOCK in the pf purge workDavid Gwynne
2022-11-24Remove netlock assertion within PF_LOCK(). The netlock should be takenVitaliy Makkoveev
2022-11-23Let nd6_if{at,de}tach() be void and take an ifp argumentKlemens Nanni
2022-11-23Make `so' dereference safe within pflow_output_process().Vitaliy Makkoveev
2022-11-23Remove unused struct ifnet's *if_afdata[] and struct domain's dom_if{at,de}ta...Klemens Nanni
2022-11-23Add *if_nd to struct ifnet, call nd6_if{at,de}tach() directlyKlemens Nanni
2022-11-22Interface tables (a.k.a. kif) in pf(4) are currently protectedAlexandr Nedvedicky
2022-11-22count how many times ifiqs enqueue and dequeue packets.David Gwynne
2022-11-21Replace manual loop and duplicate RB_NEXT with RB_FOREACHKlemens Nanni
2022-11-21Fix DIOCIGETIFACES ioctl so all network interfacesAlexandr Nedvedicky
2022-11-19Decrease netlock pressure in pppx(4).Vitaliy Makkoveev
2022-11-14Unlock SIOCGIFG{MEMB,ATTR,LIST}Klemens Nanni
2022-11-14Unlock SIOCGIFCONFKlemens Nanni
2022-11-14Document global interface group list lockingKlemens Nanni
2022-11-12Put pf_state_import() under NPFSYNC>0 to fix build without pfsyncKlemens Nanni
2022-11-11me and my text editor are not getting along todayDavid Gwynne
2022-11-11try pf.c r1.1143 again: move pf_purge out from under the kernel lockDavid Gwynne
2022-11-11add a mutex to struct pf_state and init it.David Gwynne
2022-11-11kn points out that brackets are not parenthesesDavid Gwynne
2022-11-11fix a misuse of vi.David Gwynne
2022-11-11kn@ points out that lock annotations are usually wrapped in ()David Gwynne
2022-11-11steal a change by sashan@ to say which bits of pf_state need which locks.David Gwynne
2022-11-11rename pfsync_up() to pfsync_is_up()David Gwynne
2022-11-11Turn KASSERT() into if() to prevent state being inserted toAlexandr Nedvedicky
2022-11-11rewrite the pf_state_peer_ntoh and pf_state_peer_hton macros as functions.David Gwynne
2022-11-11move struct pf_state from pfvar.h to pfvar_priv.h.David Gwynne
2022-11-11prepare for moving struct pf_state from pfvar.h to pfvar_priv.hDavid Gwynne
2022-11-10bring back r1.673: replace SRP with SMR in the if_idxmap.David Gwynne
2022-11-10revert pf_state mtx commit, because it breaks tree.Alexandr Nedvedicky
2022-11-10Add a mutex to pf_state structure. Mutex retain a consistencyAlexandr Nedvedicky
2022-11-10typofix; ok dlgKlemens Nanni
2022-11-09simplify expiration of 'once' rules.Alexandr Nedvedicky
2022-11-09revert r1.673: replace SRP with SMR in the if_idxmap.David Gwynne
2022-11-09Recommit r1.669 "Unlock SIOCIFGCLONERS"Klemens Nanni
2022-11-09Push kernel lock from ifioctl() into ifioctl_get()Klemens Nanni
2022-11-09replace SRP with SMR in the if_idxmap.David Gwynne
2022-11-08Revert lock changes inside ifioctl_get()Klemens Nanni
2022-11-08Use four spaces not tabs on line breakKlemens Nanni
2022-11-08Document ifc_list immutabilityKlemens Nanni
2022-11-08Unlock SIOCIFGCLONERSKlemens Nanni
2022-11-08Push kernel lock inside ifioctl_get()Klemens Nanni
2022-11-08This diff fixes panic tripped by KASSERT(st->sync_state == PFSYNC_S_NONE)Alexandr Nedvedicky
2022-11-08Push kernel lock into ifioctl_get()Klemens Nanni
2022-11-08Push kernel lock down into ifioctl()Klemens Nanni
2022-11-07revert "move pf_purge out from under the kernel lock".David Gwynne
2022-11-07move pf_purge out from under the kernel lock and avoid the hogging cpuDavid Gwynne