[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140602.175009.223327851419748409.davem@davemloft.net>
Date: Mon, 02 Jun 2014 17:50:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: chianglungyu@...il.com
Cc: ast@...mgrid.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: filter: fix possible memory leak in
__sk_prepare_filter()
From: Leon Yu <chianglungyu@...il.com>
Date: Sun, 1 Jun 2014 05:37:25 +0000
> __sk_prepare_filter() was reworked in commit bd4cf0ed3 (net: filter:
> rework/optimize internal BPF interpreter's instruction set) so that it should
> have uncharged memory once things went wrong. However that work isn't complete.
> Error is handled only in __sk_migrate_filter() while memory can still leak in
> the error path right after sk_chk_filter().
>
> Signed-off-by: Leon Yu <chianglungyu@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists