Re: [PATCH 3/3] Compare namespaces when comparing addresses inauth_unix cache.

From: Alexey Dobriyan
Date: Mon Apr 11 2011 - 09:57:43 EST


On Mon, Apr 11, 2011 at 4:36 PM, Serge E. Hallyn <serge@xxxxxxxxxx> wrote:

> Besides use-after-free, the other concern is an invalid net_eq()
> result due to the * being re-used for a new netns.

Exactly.

"struct net" dies last, no exceptions, anything different is a disaster.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/