Daniel Borkmann a055c19be9 bpf, mlx5: drop priv->xdp_prog reference on netdev cleanup
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 <daniel@iogearbox.net>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-21 11:25:58 -05:00
..
2016-11-15 22:34:25 -05:00
2016-10-06 17:13:54 -07:00
2016-10-21 21:40:29 +02:00
2016-09-27 12:33:47 +02:00
2016-10-07 21:23:40 -07:00
2016-10-07 08:35:35 -07:00
2016-11-05 10:52:29 -07:00
2016-10-07 21:23:40 -07:00
2016-11-11 17:02:01 -08:00
2016-10-06 17:03:49 -07:00
2016-10-14 11:07:42 -07:00
2016-11-01 09:04:04 -06:00
2016-10-19 08:39:47 -07:00
2016-10-24 19:52:24 -07:00