summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2007-01-03 18:39:56 +0000
committerclaudio <claudio@openbsd.org>2007-01-03 18:39:56 +0000
commit80c294c1d5538c1f4984ba8cb5fef7d2ed0cd9d6 (patch)
tree410830a0f32b912e37c47b0ca51b5dfb00f485ac /lib
parentM_DUP_PKTHDR() cleanup. On static mbufs M_DUP_PKTHDR() will leak mbuf tags. (diff)
downloadwireguard-openbsd-80c294c1d5538c1f4984ba8cb5fef7d2ed0cd9d6.tar.xz
wireguard-openbsd-80c294c1d5538c1f4984ba8cb5fef7d2ed0cd9d6.zip
Remove two "unused" mbuf tag functions and kill the superfluous argument
to the m_tag_delete_chain() function. m_tag_free() and m_tag_unlink() are only used by m_tag_delete() and I see no need to have these functions around. m_tag_delete_chain() has a second argument to specifiy a starting point from where the chain should be deleted. This feature is never used and is more complex because it is not possible to remove a SLIST element without doing a list walk. Instead use SLIST_FIRST() and SLIST_REMOVE_HEAD() to remove all items from the list. OK dhartmei@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions