[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080101.193112.20706369.davem@davemloft.net>
Date: Tue, 01 Jan 2008 19:31:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: julia@...u.dk
Cc: eis@...y.hanse.de, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] net/x25: Add missing x25_neigh_put
From: Julia Lawall <julia@...u.dk>
Date: Tue, 1 Jan 2008 22:07:04 +0100 (CET)
> The function x25_get_neigh increments a reference count. At the point of
> the second goto out, the result of calling x25_get_neigh is only stored in
> a local variable, and thus no one outside the function will be able to
> decrease the reference count. Thus, x25_neigh_put should be called before
> the return in this case.
Patch applied, thanks.
--
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