summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2022-03-23resurrect pf_consistency_lock as pfioctl_rw this time. pfioctl_rwAlexandr Nedvedicky
2022-03-17Drop two variable names from function prototypes.Theo Buehler
2022-03-17fix typos; Martin VahlensieckStuart Henderson
2022-03-17Use the refcnt API in bpf.Visa Hankala
2022-03-15remove if_vxlan.h unused after if_vxlan.c rev 1.84Jonathan Gray
2022-03-13Hrvoje has hit a crash with IPsec acquire while testing the parallelAlexander Bluhm
2022-03-09Change the logic around rounding up the needed memory for sysctls sinceClaudio Jeker
2022-03-08In IPsec policy replace integer refcount with atomic refcount.Alexander Bluhm
2022-03-08merge iack_mtx, upd_c_mtx, del_mtx, ins_mtx and upd_mtx mutexes into singleAlexandr Nedvedicky
2022-03-05#if INET6 -> #ifdef INET6 to be consistentJonathan Gray
2022-03-02Convert a few last struct members from u_intXY_t to uintXY_t. Now allClaudio Jeker
2022-02-28add the mbuf tags that prevent output loops.David Gwynne
2022-02-26add the mbuf tag that prevents loops in vxlan_encap, not vxlan_output.David Gwynne
2022-02-26have another go at fixing assert "sc->sc_dev == NUM" failed.David Gwynne
2022-02-25Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.comPhilip Guenther
2022-02-25To fix crashes seen by Hrvoje with pfsync, IPsec and parallelAlexander Bluhm
2022-02-25Move pr_attach and pr_detach to a new structure pr_usrreqs that canPhilip Guenther
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2022-02-21in input, clear the address union before putting an ipv4 address in it.David Gwynne
2022-02-20Add missing newlines in two DPRINTFs (from Matthew Martin)Theo Buehler
2022-02-18dont bother running ethernet multicast ioctl handlers.David Gwynne
2022-02-18fix inverted check of running when changing tunnel rdomain.David Gwynne
2022-02-18only unwind multicast when in learning mode.David Gwynne
2022-02-16nat-to round-robin without a pool should fallback to POOL_NONEAlexandr Nedvedicky
2022-02-16check pf rule "set prio" values consistently.David Gwynne
2022-02-16prevent (re)opening of tun/tap interfaces that are being destroyed.David Gwynne
2022-02-16fill in support for rx prio handling.David Gwynne
2022-02-16rewrite vxlan to better fit the current kernel infrastructure.David Gwynne
2022-02-15Use knote_modify_fn() and knote_process_fn() in bpf.Visa Hankala
2022-02-15only tweak ifp if_flags while holding NET_LOCK.David Gwynne
2022-02-15make tun_link_state take the ifnet pointer instead of tun_softc.David Gwynne
2022-02-15remove unused and uneeded bits in a byte defineJonathan Gray
2022-02-13The length value in bpf_movein() is casted to from size_t to u_intAlexander Bluhm
2022-02-13Rename knote_modify() to knote_assign()Visa Hankala
2022-02-11Replace manual !klist_empty()+knote() with KNOTE().Visa Hankala
2022-02-09let pfattach() to also initialize pf_default_rule_new to avoidAlexandr Nedvedicky
2022-02-08Do not /0 if timeout[PFTM_INTERVAL] manages to become zeroTheo de Raadt
2022-02-07In rtredirect() change an bad assignment in an if condition to theClaudio Jeker
2022-02-05make bpf_movein align the packet payload.David Gwynne
2022-02-05remove an extra set of brackets. no functional change.David Gwynne
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2022-01-24An af-to pf rule must have an address family naf to use afterAlexander Bluhm
2022-01-20pfkey import_flow() must do the NULL check before doing pointerAlexander Bluhm
2022-01-20Shifting signed integers left by 31 is undefined behavior in C.Alexander Bluhm
2022-01-18return EIO, not ENXIO, when the interface underneath ifq_deq_sleep dies.David Gwynne
2022-01-18a comment about bridges shouldnt list switch(4), but can have veb(4).David Gwynne
2022-01-16activate/notify waiting kq kevents from bpf_wakeup directly.David Gwynne
2022-01-13Make bpf event filter MP-safeVisa Hankala
2022-01-13Return an error if bpfilter_lookup() fails in bpfkqfilter()Visa Hankala
2022-01-11move allocations in DIOCSADDRULE and DIOCHANGERULE outside of locks.Alexandr Nedvedicky