svn commit: r276844 - head/sys/netinet6
Gleb Smirnoff
glebius at FreeBSD.org
Mon Jan 12 14:55:19 UTC 2015
On Thu, Jan 08, 2015 at 06:02:06PM +0000, Alexander V. Chernikov wrote:
A> Author: melifaro
A> Date: Thu Jan 8 18:02:05 2015
A> New Revision: 276844
A> URL: https://svnweb.freebsd.org/changeset/base/276844
A>
A> Log:
A> * Use newly-created nd6_grab_holdchain() function to retrieve lle
A> hold mbuf chain instead of calling full-blown nd6_output_lle()
A> for each packet. This simplifies both callers and nd6_output_lle()
A> implementation.
A> * Make nd6_output_lle() static and remove now-unused lle and chain
A> arguments.
A> * Rename nd6_output_flush() -> nd6_flush_holdchain() to be consistent.
A> * Move all pre-send transmit hooks to newly-created nd6_output_ifp().
A> Now nd6_output(), nd6_output_lle() and nd6_flush_holdchain() are using
A> it to send mbufs to if_output.
A> * Remove SeND hook from nd6_na_input() because it was implemented
A> incorrectly since the beginning (r211501):
A> - it tagged initial input mbuf (m) instead of m_hold
A> - tagging _all_ mbufs in holdchain seems to be wrong anyway.
Thanks that you gathered into one place all instances of
ifp->if_output(origifp, ...
^^^ ^^^^^^^
But this extremely ugly place still needs to be fixed :)
--
Totus tuus, Glebius.
More information about the svn-src-head
mailing list