Re: [PATCH] netfilter: ctnetlink: get and zero operations must be atomic

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

 



On Sat, Dec 24, 2011 at 9:48 PM,  <pablo@xxxxxxxxxxxxx> wrote:
> From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
>
> The get and zero operations have to be done in an atomic context,
> otherwise counters added between them will be lost.
>
> This problem was spotted by Changli Gao while discussing the
> nfacct infrastructure.
>
> Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

Reviewed-by: Changli Gao <xiaosuo@xxxxxxxxx>

-- 
Regards,
Changli Gao(xiaosuo@xxxxxxxxx)
--
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