On Sat, Nov 19, 2016 at 2:45 AM, Daniel Borkmann <dan...@iogearbox.net> wrote: > mlx5e_xdp_set() is currently the only place where we drop reference on the > prog sitting in priv->xdp_prog when it's exchanged by a new one. We also > need to make sure that we eventually release that reference, for example, > in case the netdev is dismantled, otherwise we leak the program. > > Fixes: 86994156c736 ("net/mlx5e: XDP fast RX drop bpf programs support") > Signed-off-by: Daniel Borkmann <dan...@iogearbox.net>
Acked-by: Saeed Mahameed <sae...@mellanox.com>