mirror_ubuntu-kernels/drivers/net/ethernet/netronome/nfp
Yinjun Zhang cc7eab25b1 nfp: clean mc addresses in application firmware when closing port
When moving devices from one namespace to another, mc addresses are
cleaned in software while not removed from application firmware. Thus
the mc addresses are remained and will cause resource leak.

Now use `__dev_mc_unsync` to clean mc addresses when closing port.

Fixes: e20aa071cd ("nfp: fix schedule in atomic context when sync mc address")
Cc: stable@vger.kernel.org
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Message-ID: <20230705052818.7122-1-louis.peens@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-07-05 10:59:12 -07:00
..
abm
bpf nfp: bpf: Fix typo 'the the' in comment 2022-07-25 10:52:28 +01:00
crypto nfp: fix incorrect pointer deference when offloading IPsec with bonding 2023-04-21 20:23:49 -07:00
flower nfp: flower: offload tc flows of multiple conntrack zones 2023-03-15 22:16:23 -07:00
nfd3 nfp: fix incorrectly set csum flag for nfd3 path 2023-03-03 08:28:44 +00:00
nfdk nfp: fix incorrectly set csum flag for nfdk path 2023-03-03 08:28:44 +00:00
nfpcore nfp: improve link modes reading process 2023-05-09 19:40:28 -07:00
nic nfp: fix NFP_NET_MAX_DSCP definition error 2023-05-12 08:55:47 +01:00
ccm_mbox.c nfp: Fix spelling mistake "tha" -> "the" 2022-12-08 19:44:06 -08:00
ccm.c
ccm.h
devlink_param.c devlink: protect devlink param list by instance lock 2023-01-27 12:32:02 +00:00
Makefile nfp: support IPsec offloading for NFP3800 2023-02-09 22:22:19 -08:00
nfp_abi.h
nfp_app_nic.c
nfp_app.c nfp: fix clang -Wformat warnings 2022-07-12 17:38:44 -07:00
nfp_app.h net: remove unused ndo_get_devlink_port 2022-11-03 20:48:36 -07:00
nfp_asm.c
nfp_asm.h
nfp_devlink.c devlink: move port_split/unsplit() ops into devlink_port_ops 2023-05-30 10:32:20 -07:00
nfp_hwmon.c net: nfp: constify pointers to hwmon_channel_info 2023-04-09 19:02:03 -07:00
nfp_main.c nfp: only clean sp_indiff when application firmware is unloaded 2022-10-21 22:43:48 -07:00
nfp_main.h nfp: ethtool: support reporting link modes 2022-11-29 15:28:52 +01:00
nfp_net_common.c nfp: clean mc addresses in application firmware when closing port 2023-07-05 10:59:12 -07:00
nfp_net_ctrl.c nfp: refine the ABI of getting sp_indiff info 2022-09-30 18:47:52 -07:00
nfp_net_ctrl.h Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/net 2023-02-17 11:06:39 +00:00
nfp_net_debugdump.c
nfp_net_debugfs.c nfp: use TX ring pointer write back 2022-03-21 13:21:16 +00:00
nfp_net_dp.c nfp: support RX VLAN ctag/stag strip 2022-07-04 10:44:08 +01:00
nfp_net_dp.h nfp: support RX VLAN ctag/stag strip 2022-07-04 10:44:08 +01:00
nfp_net_ethtool.c nfp: improve link modes reading process 2023-05-09 19:40:28 -07:00
nfp_net_main.c devlink: protect devlink param list by instance lock 2023-01-27 12:32:02 +00:00
nfp_net_repr.c net: remove unused ndo_get_devlink_port 2022-11-03 20:48:36 -07:00
nfp_net_repr.h
nfp_net_sriov.c nfp: avoid unnecessary check warnings in nfp_app_get_vf_config 2022-06-09 22:02:38 -07:00
nfp_net_sriov.h nfp: VF rate limit support 2022-05-12 13:03:08 +02:00
nfp_net_xsk.c nfp: support 48-bit DMA addressing for NFP3800 2022-06-13 13:31:39 +01:00
nfp_net_xsk.h nfp: move the fast path code to separate files 2022-03-21 13:21:16 +00:00
nfp_net.h nfp: fix schedule in atomic context when offloading sa 2023-02-09 22:28:06 -08:00
nfp_netvf_main.c nfp: support Corigine PCIE vendor ID 2022-05-09 18:20:39 -07:00
nfp_port.c nfp: initialize netdev's dev_port with correct id 2023-04-06 15:43:36 +02:00
nfp_port.h nfp: ethtool: fix the bug of setting unsupported port speed 2023-02-08 09:08:12 +00:00
nfp_shared_buf.c