summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2018-06-20Use the socket lock rather than the KERNEL_LOCK() in pfkey_sendup().Martin Pieuchot
2018-06-18Do not allow to change the rdomain of the default loopback interface.Martin Pieuchot
2018-06-18Refactor the six ways to find TCP options into one new function. As a result:Richard Procter
2018-06-15Fix the lock order problem found by witness. Release the lock forYASUOKA Masahiko
2018-06-11Rename routing & pfkey tables for coherency with other PCB tables.Martin Pieuchot
2018-06-11Push the KERNEL_LOCK() inside route_input().Martin Pieuchot
2018-06-06Prefix fields of pfkey & routing PCBs, part 2, no functionnal change.Martin Pieuchot
2018-06-06Prefix fields of pfkey & routing PCBs, no functionnal change.Martin Pieuchot
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-06-06Asseert that a pfkey or routing socket is referenced by a `fp' insteadMartin Pieuchot
2018-06-04The function pf_create_state() calls pf_set_protostate() beforeAlexander Bluhm
2018-06-01While sending the pf syncookie, we are holding the pf lock. SoAlexander Bluhm
2018-05-30restrict the prio values from SIOCSIFLLPRIO to what the kernel handlesDavid Gwynne
2018-05-30Add SIOCGIFGLIST to fetch a list of interface groups on the system.Stuart Henderson
2018-05-28implement support for MikroTik's Ethernet over IP protocol as eoip(4)David Gwynne
2018-05-19As long we have no per socket locking, we must grab either net lockAlexander Bluhm
2018-05-17Move the handling of SIOCIFGCLONERS out of the NET_RLOCK(). The globalTheo Buehler
2018-05-16Fix kernel builds without IPSEC.Reyk Floeter
2018-05-15Take NET_LOCK for pppioctl when called via the tty ioctl handlerMike Belopuhov
2018-05-15Grab the KERNEL_LOCK() in pppasyncstart/pppasyncrelinq/pppasyncctlp.Martin Pieuchot
2018-05-14Use a SRP list to protect pfkeyv2 sockets, thus removing the need toMartin Pieuchot
2018-05-12Make LACP_STATE_BITS accessible to userlandccardenas
2018-05-10pf route-to should not send packets from 127.0.0.1 or ::1 addressAlexander Bluhm
2018-05-08Introduce rtm_sendup() a function to deliver routing messages to aMartin Pieuchot
2018-04-28replace add_*_randomness with enqueue_randomness()Jasper Lievisse Adriaanse
2018-04-28bump my copyrightPeter Hessler
2018-04-28don't check if we still have the BFD flag set when sending a packet, as wePeter Hessler
2018-04-28properly delete the bfd configuration when it is disabledPeter Hessler
2018-04-28use unsigned variables for things that we use as unsignedPeter Hessler
2018-04-28add the socket lock around our use of socketsPeter Hessler
2018-04-25Make this header standalone #if __BSD_VISIBLE, by including needed headersJeremie Courreges-Anglas
2018-04-24Use pf_rm_rule() instead of pool_put() to decrement references byAlexander Bluhm
2018-04-24Fix copy and paste typo in pfi_kif_unref route error message.Alexander Bluhm
2018-04-24Push NET_LOCK down in the default ifioctl case.Paul Irofti
2018-04-24Remove unused rtentry parameter.Florian Obser
2018-04-19when adding span ports, restrict them to ether and mplstunnel interfaces.David Gwynne
2018-04-18If m_pullup() changes the mbuf in gif_input(), also adjust the mbufAlexander Bluhm
2018-04-13Remove compatibility with pfctl from 6.1 and plug a few leaksMike Belopuhov
2018-04-08use the specified protocol on v6 outputDavid Gwynne
2018-04-08on output, actually attach the mbuf tag to packet.David Gwynne
2018-04-06All users of the PFLOG_PACKET() macro are inside "#if NPFLOG > 0".Alexander Bluhm
2018-04-05Zap the obsolete PF_TRANS_ALTQ.Lawrence Teo
2018-04-05Explicitly check PF_TRANS_RULESET in DIOCXBEGIN, DIOCXCOMMIT, and DIOCXROLLBACK.Lawrence Teo
2018-04-03use link0 to use llprio in transmitted packets, regardless of mbuf prio.David Gwynne
2018-03-29NET_LOCK is also required in pppxwrite and pppxclose.Jonathan Matthew
2018-03-28- memory leak occurs when adding same table twice.Alexandr Nedvedicky
2018-03-20Call bpfdetach() without holding the NET_LOCK().Martin Pieuchot
2018-03-15Remove the check for flags M_AUTH and M_CONF (AH and ESP).remi
2018-03-13on input, check the unicast address before the multicast handling.David Gwynne
2018-03-12Delete unused variable.Kenji Aoyama