Re: [PATCH net] team: Free BPF filter when unregistering netdev

2019-03-04 Thread David Miller
From: Ido Schimmel Date: Sun, 3 Mar 2019 07:35:51 + > 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 freein

Re: [PATCH net] team: Free BPF filter when unregistering netdev

2019-03-03 Thread Jiri Pirko
Sun, Mar 03, 2019 at 08:35:51AM CET, ido...@mellanox.com wrote: >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

[PATCH net] team: Free BPF filter when unregistering netdev

2019-03-02 Thread Ido Schimmel
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