Re: Checkentry called twice?

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

 



On Tuesday 2009-03-31 14:46, Kristian Evensen wrote:

>Sorry for asking stupid questions, by reading some sections of the
>book a bit more thorough I discovered that destroy is called after
>checkentry :) Now I also understand why quota2 uses lists.

The list is actually used so that we know what to show in procfs. As 
described in the book, quota and recent and so on work because the new 
table is checked first (which ups the refcount) before the old table 
dies (downing the refcount), so it's 1->2->1 instead of 1->0->1. So the 
data portions luckily don't go away while replacing a table.

>However, if there is a way to avoid replacing the table I am very
>interested in learning about it.

Nope.
--
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