m_freem()
- From: Julian Elischer <julian@xxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 14:13:14 -0800
m_freem() would be a perfect candidate for an inline function.
(or even macro).
in the case where m is null, no function call would even be made...
The whole function is only 2 lines, and it gets called once for every packet :-)
BUT it's a part of the ABI to have it as a function for RELENG_7 and earlier...
1/ can we change it in -current/RELENG_8
2/ if not is there such a thing as an inline that has a function version too?
(I have vague memories of that being possible...)
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Prev by Date: Re: kern/110959: [ipsec] Filtering incoming packets with enc0 does not work with GIF-based IPSec setups
- Previous by thread: Re: kern/110959: [ipsec] Filtering incoming packets with enc0 does not work with GIF-based IPSec setups
- Index(es):
Relevant Pages
|
|