summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
AgeCommit message (Expand)Author
2017-05-27Put an assert that M_PKTHDR is set before accessing m_pkthdr in theAlexander Bluhm
2017-05-27Refactor m_makespace() using MCLGETI to simplify the logic of this function.Claudio Jeker
2017-05-08add a compile time assertion MSIZE == sizeof(struct mbuf)Ted Unangst
2017-02-07enable per cpu caches on the mbuf pools.David Gwynne
2017-02-07move the mbuf pools to m_pool_init and a single global memory limitDavid Gwynne
2017-02-07add m_pool_init(), a wrapper around pool_init for mbuf clusters.David Gwynne
2017-02-07provide a custom pool page allocator for mbufs, but dont use it yet.David Gwynne
2017-02-05Always allocate counters memory using type M_COUNTERS.Jeremie Courreges-Anglas
2017-01-25Clear the reference of the original mbuf chain after m_split()'ingMartin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-11-09Do not dereference a variable without initializing it beforehand.Martin Pieuchot
2016-10-27refactor m_pullup a bit.David Gwynne
2016-10-27add a new pool for 2k + 2 byte (mcl2k2) clusters.David Gwynne
2016-10-24avoid using realloc in the name of things that dont work like realloc.David Gwynne
2016-10-24move the mbstat structure to percpu countersDavid Gwynne
2016-10-10white space fixes.David Gwynne
2016-10-10copy the offset of data inside mbufs in m_copym().David Gwynne
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-15we dont need m_copym0 with m_copym as a single wrapper, so merge them.David Gwynne
2016-09-15remove m_copym2 as its use has been replaced by m_dup_pktDavid Gwynne
2016-09-13avoid extensive mbuf allocation for IPsec by replacing m_inject(4)Markus Friedl
2016-09-03Limit all mbuf cluster pools to the same memory size. Having limitsAlexander Bluhm
2016-06-13On localhost a user program may create a socket splicing loop.Alexander Bluhm
2016-05-23remove the function pointer from mbufs. this memory is shared with dataTed Unangst
2016-04-15remove ml_filter, mq_filter, niq_filter.David Gwynne
2016-04-08add m_purge for freeing a list of mbufs linked via m_nextpktDavid Gwynne
2016-04-06correct the order of arguments to m_get in m_dup_pktDavid Gwynne
2016-03-29- packet must keep reference to statekeyAlexandr Nedvedicky
2016-03-22dont mix up the len and flats argument to MCLGETI in m_dup_pktDavid Gwynne
2016-02-23provide m_dup_pkt() for doing fast deep mbuf copies with a specified alignmentDavid Gwynne
2016-01-31- m_pkthdr.pf.statekey changes are not ready for 5.9, I must back them outAlexandr Nedvedicky
2016-01-07- retrying to commit earlier change, which got backed outAlexandr Nedvedicky
2015-12-23revert previous:Jasper Lievisse Adriaanse
2015-12-22- yet another tiny step towards MP PF. This time we need to make sureAlexandr Nedvedicky
2015-11-21Retire ml_requeue(9) and mq_requeue(9).Martin Pieuchot
2015-11-13Use ph_ prefix for tag-related fields.Martin Pieuchot
2015-11-12Prefix flowid with ph_ and print it in m_print().Martin Pieuchot
2015-11-02provide ml_purge and mq_purge.David Gwynne
2015-10-30Let m_resethdr() clear the whole mbuf packet header, not only theAlexander Bluhm
2015-10-30Add m_resethdr() to clear any state (pf, tags, flags) of an mbuf packet.Reyk Floeter
2015-10-22rename ml_join to ml_enlist and expose it to the rest of the kernel.David Gwynne
2015-08-14provide ml_requeue and mq_requeue for prepending mbufs on lists/queuesDavid Gwynne
2015-07-15m_free() can now accept NULL, as a normal free() function. This makesTheo de Raadt
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-05-31If the first list was empty, ml_join() did not not clear the secondAlexander Bluhm
2015-04-13Now that if_input() set the receiving interface pointer on mbufs for usMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-07make mq_enlist drop mbufs is the queues length is exceeded.David Gwynne
2015-02-07add ml_filter and mq_filter functions to the mbuf list and queue apis.David Gwynne
2014-12-11convert bcopy to memcpy/memmove. ok krwTed Unangst