summaryrefslogtreecommitdiff
path: root/sys/net/pf_table.c
AgeCommit message (Expand)Author
2021-11-22move PFR_TFLAG_CONST test, missed in rev 1.138Jonathan Gray
2021-11-16move memory allocations in pfr_add_addrs() outside of NET_LOCK()/PF_LOCK()Alexandr Nedvedicky
2021-11-11Allow pfi_kif_get() callers to pre-allocate buffer for new kif. If kifAlexandr Nedvedicky
2021-10-24let pf_table.c to use standard way to work with listsAlexandr Nedvedicky
2021-10-23YIELD() in pf_table.c should preempt for ioctl() callers onlyAlexandr Nedvedicky
2020-07-28Use the table on root always if current table is not active.YASUOKA Masahiko
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-06-04Fix pfr_kentry_byaddr() to be used for a rule in an anchor. ItYASUOKA Masahiko
2019-07-08free(9) sizes for M_RTABLE.Martin Pieuchot
2018-12-10Remove useless macroskn
2018-10-15use PFR_RB_NONE consistentlykn
2018-03-28- memory leak occurs when adding same table twice.Alexandr Nedvedicky
2017-08-16Validate pfra_type after copyin before using it to index an arrayMike Belopuhov
2017-05-08Replace the global variables pfr_{sin,sin6} with stack local variablesPatrick Wildt
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().Martin Pieuchot
2017-02-09Replace a custom loop calling yield() by the idiom to check if theMartin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-23Kill unecessary splsoftnet()/splx() dances, what's protecting radixMartin Pieuchot
2016-10-26Put union pf_headers and struct pf_pdesc into separate header fileAlexander Bluhm
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-03- fixes potential use-after-free in pfr_set_addrs()Alexandr Nedvedicky
2015-10-07rn_inithead() offset argument is now specified in byte, missed in previous.Martin Pieuchot
2015-09-04Make every subsystem using a radix tree call rn_init() and pass theMartin Pieuchot
2015-07-20Add some panics to default paths where code later assumes a non defaultJonathan Gray
2015-07-18follow up changes on unknown AF handlingsashan
2015-07-18INET/INET6 address family check should be unified in PFsashan
2015-07-16Fix rn_match and there for the expoerted lookup functions in radix.cClaudio Jeker
2015-06-07Introduce unhandled_af() for cases where code conditionally doesJonathan Gray
2015-04-09Plug a memory leak in pfr_destroy_kentryMike Belopuhov
2015-04-08Table flags are not looked at when a table entry is created.Mike Belopuhov
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-20Prevent tables referenced by rules in anchors from getting disabled.Mike Belopuhov
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-09-08remove uneeded route.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-07-05Collect and display 'match' counters for pf tables.Bret Lambert
2013-07-04Re-commit: use time_t for storing time_t values. This is an ABIPhilip Guenther
2013-07-02Revert previous: sizeof(time_t) != sizeof(long) on LP64, so there wasPhilip Guenther
2013-07-02Use time_t for storing time_t values. No change to the underlyingPhilip Guenther
2013-02-18DIOCRCLRASTATS ioctl wasn't specifying a timestamp when clearedMike Belopuhov
2013-01-16Unbreak the negation toggle code when re-loading pf tables. OtherwiseMarkus Friedl
2012-12-29pass pf_pool directly to pfr_pool_get(); simplifies the API;Markus Friedl
2012-01-26when table content changes we need to reset indexMike Belopuhov
2011-07-27Add support for weighted round-robin in load balancing pools and tables.Ryan Thomas McBride
2011-07-08ensure that we won't enter an endless loop while iterating overMike Belopuhov
2011-07-03bring in least-states load balancing algorithmJoerg Zinke
2011-06-14KNF (no change in .o files)Ryan Thomas McBride