summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
AgeCommit message (Expand)Author
2024-11-06Use atomic load and store operations for sbchecklowmem().Alexander Bluhm
2024-09-10Fix build of m_print_chain() on sparc64.Alexander Bluhm
2024-09-09Print mbuf size also for non cluster.Alexander Bluhm
2024-09-05In ddb(4) print mbuf chain and packet list.Alexander Bluhm
2024-08-29Show expensive mbuf operations in netstat(1) statistics.Alexander Bluhm
2024-03-05Revert m_defrag() mbuf alignment to IP header.Alexander Bluhm
2024-02-21Keep mbuf data alignment intact in m_defrag()Claudio Jeker
2023-10-20Avoid assertion failure when splitting mbuf cluster.Alexander Bluhm
2023-06-23Avoid division by 0 in m_pool_usedGreg Steuck
2023-05-16Always set maximum queue length to passed in the IFQCTL_MAXLEN case.Vitaliy Makkoveev
2023-05-05The mbuf_queue API allows read access to integer variables whichAlexander Bluhm
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2022-02-14update sbchecklowmem() to better detect actual mbuf memory usage.David Gwynne
2022-02-08use sizeof(long) - 1 in m_pullup to determine payload alignment.David Gwynne
2022-01-18Properly handle read-only clusters in m_pullup(9).Alexander Bluhm
2021-03-06ansiJonathan Gray
2021-02-25let m_copydata use a void * instead of caddr_tDavid Gwynne
2021-01-13Convert mbuf type KDASSERT() to a proper KASSERT() in m_get(9).Alexander Bluhm
2020-12-12Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.jan
2020-06-21add mq_push. it's like mq_enqueue, but drops from the head, not the tail.David Gwynne
2020-01-22add ml_hdatalen and mq_hdatalen as workalikes of ifq_hdatalen.David Gwynne
2019-10-22Replace the mutex that protects the mbuf allocation limit by anAlexander Bluhm
2019-07-19After the kernel has reached the sysclt kern.maxclusters limit,Alexander Bluhm
2019-07-16Fix uipc white spaces.Alexander Bluhm
2019-07-16Prevent integer overflow in kernel and userland when checking mbufAlexander Bluhm
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