[PATCH] Make hashsize ip_conntrack parameter writable
Rusty Russell
rusty at rustcorp.com.au
Mon Oct 10 23:22:48 CEST 2005
On Fri, 2005-10-07 at 21:27 +0900, Yasuyuki KOZAKAI wrote:
> From: Rusty Russell <rusty at rustcorp.com.au>
> Date: Thu, 06 Oct 2005 04:23:03 +1000
>
> > +static u_int32_t
> > +hash_conntrack(const struct ip_conntrack_tuple *tuple)
> > +{
> > + return __hash_conntrack(tuple, ip_conntrack_htable_size);
> > }
>
> Why don't we use inline ?
Just checking you were reading. Well done, Yasuyuki!
We should use "u32", too, not those types I made the mistake of using
when I was young and foolish.
Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman
More information about the netfilter-devel
mailing list