summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
AgeCommit message (Expand)Author
2019-06-10add m_microtime for getting the wall clock time associated with a packetDavid Gwynne
2019-02-10revert revert revert. there are many other archs that use custom allocs.Ted Unangst
2019-02-10make it possible to reduce kmem pressure by letting some pools use a moreTed Unangst
2019-02-01make m_pullup use the first mbuf with data to measure alignment.David Gwynne
2019-01-09Eliminate an else branch from m_extunref().Visa Hankala
2019-01-08If the mbuf cluster in m_zero() is read only, propagate the M_ZEROIZEAlexander Bluhm
2019-01-07It is possible to call m_zero with a read-only cluster. In that case justClaudio Jeker
2018-11-30Trivial MH_ALIGN/M_ALIGN to m_align conversions.Claudio Jeker
2018-11-12Introduce m_align() a function that works like M_ALIGN() but works withClaudio Jeker
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-09-13Add reference counting for inet pcb, this will be needed when weAlexander Bluhm
2018-09-10Instead of calculating the mbuf packet header length here and there,Alexander Bluhm
2018-09-10During fragment reassembly, mbuf chains with packet headers wereAlexander Bluhm
2018-03-18NULL deref on armv7 performing NFS, within 10 seconds.Theo de Raadt
2018-03-13make m_pullup skip over empty mbufs when finding the payload alignment.David Gwynne
2018-03-12make m_adj keep m_data aligned when removing all the data in an mbuf.David Gwynne
2018-01-16garbage collect an unused variableSebastian Benoit
2017-12-29Make sure that pf_mbuf_link_state_key() does not overwrite anAlexander Bluhm
2017-12-29Make the functions which link the pf state keys to mbufs, inpcbs,Alexander Bluhm
2017-10-12Move sysctl_mq() where it can safely mess with mbuf queue internals.Martin Pieuchot
2017-09-15Coverity complained that the while loop at the end of m_adj() couldAlexander Bluhm
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