[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070428.231849.59657032.davem@davemloft.net>
Date: Sat, 28 Apr 2007 23:18:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: xemul@...ru, netdev@...r.kernel.org, akpm@...l.org,
linux-kernel@...r.kernel.org, devel@...nvz.org, kaber@...sh.net,
dev@...nvz.org
Subject: Re: [NETLINK] Don't attach callback to a going-away netlink socket
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 19 Apr 2007 12:13:51 +1000
> [NETLINK]: Kill CB only when socket is unused
>
> Since we can still receive packets until all references to the
> socket are gone, we don't need to kill the CB until that happens.
> This also aligns ourselves with the receive queue purging which
> happens at that point.
>
> Original patch by Pavel Emelianov who noticed this race condition.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Herbert, could you refresh this refinement to the current
tree?
Thanks a lot!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists