lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071015.023228.107924035.davem@davemloft.net>
Date:	Mon, 15 Oct 2007 02:32:28 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	xemul@...nvz.org
Cc:	kaber@...sh.net, netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH 2/9] Collect frag queues management objects together

From: Pavel Emelyanov <xemul@...nvz.org>
Date: Fri, 12 Oct 2007 17:06:13 +0400

> There are some objects that are common in all the places
> which are used to keep track of frag queues, they are:
> 
>  * hash table
>  * LRU list
>  * rw lock
>  * rnd number for hash function
>  * the number of queues
>  * the amount of memory occupied by queues
>  * secret timer
> 
> Move all this stuff into one structure (struct inet_frags)
> to make it possible use them uniformly in the future. Like
> with the previous patch this mostly consists of hunks like
> 
> -    write_lock(&ipfrag_lock);
> +    write_lock(&ip4_frags.lock);
> 
> To address the issue with exporting the number of queues and 
> the amount of memory occupied by queues outside the .c file
> they are declared in, I introduce a couple of helpers.
> 
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>

Applied.

'ipfrag_secret_timer' became unused, so I deleted it in this
patch too.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ