Re: size calculation wasted cpu time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kuzin Andrey wrote:
> In /net/netfilter/nfnetlink_queue.c every call of nfqnl_build_packet_message()
> make series of call nla_total_size() for 'size' calculations.
> I think 'size' is constant value for kernel build and may be define static
> variable for this ?

We can calculate this during the module initialization, brave to cook a
patch for it?

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux