summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
AgeCommit message (Expand)Author
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
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