Date: Mon, 15 Dec 2014 23:44:54 -0500
From: Lawrence Teo l...@openbsd.org
Make divert_output() do an m_pullup only if truly needed.
ok?
Questionable. AFAIK m_pullup(9) will only do the pullup if it is
necesary in the first place. Is there a measurable speedup from
inlining the check?
On 16 December 2014 at 12:08, Mark Kettenis mark.kette...@xs4all.nl wrote:
Date: Mon, 15 Dec 2014 23:44:54 -0500
From: Lawrence Teo l...@openbsd.org
Make divert_output() do an m_pullup only if truly needed.
ok?
Questionable. AFAIK m_pullup(9) will only do the pullup if it is
necesary in
Make divert_output() do an m_pullup only if truly needed.
ok?
Index: netinet/ip_divert.c
===
RCS file: /cvs/src/sys/netinet/ip_divert.c,v
retrieving revision 1.31
diff -u -p -r1.31 ip_divert.c
--- netinet/ip_divert.c 5 Dec 2014