netdev
[Top] [All Lists]

Re: [PATCH 2.4 NETLINK]: Unhash sockets correctly

To: Patrick McHardy <kaber@xxxxxxxxx>
Subject: Re: [PATCH 2.4 NETLINK]: Unhash sockets correctly
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Wed, 16 Feb 2005 11:52:55 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <421396D9.2030405@xxxxxxxxx>
References: <421396D9.2030405@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 16 Feb 2005 19:54:17 +0100
Patrick McHardy <kaber@xxxxxxxxx> wrote:

> this patch fixes a nasty bug introduced by the pid-hash backport.
> Sockets are only unhashed if they are contained in the first hash
> bucket. This leads to leaking sockets and, over time, to bind
> conflicts which confuse iproute and result in sporadic failure.

Good catch Patrick.  Applied, and I'll push upstream momentarily.

<Prev in Thread] Current Thread [Next in Thread>