[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190304.105828.158200054939679540.davem@davemloft.net>
Date: Mon, 04 Mar 2019 10:58:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, jiri@...lanox.com, mlxsw@...lanox.com
Subject: Re: [PATCH net] team: Free BPF filter when unregistering netdev
From: Ido Schimmel <idosch@...lanox.com>
Date: Sun, 3 Mar 2019 07:35:51 +0000
> When team is used in loadbalance mode a BPF filter can be used to
> provide a hash which will determine the Tx port.
>
> When the netdev is later unregistered the filter is not freed which
> results in memory leaks [1].
>
> Fix by freeing the program and the corresponding filter when
> unregistering the netdev.
...
> Fixes: 01d7f30a9f96 ("team: add loadbalance mode")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reported-by: Amit Cohen <amitc@...lanox.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists