summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/sky2.c
diff options
context:
space:
mode:
authorYinjun Zhang <yinjun.zhang@corigine.com>2023-07-05 08:28:18 +0300
committerJakub Kicinski <kuba@kernel.org>2023-07-05 20:59:12 +0300
commitcc7eab25b1cf3f9594fe61142d3523ce4d14a788 (patch)
tree64847588c5d7cf44157c9e8c4269c672a579950a /drivers/net/ethernet/marvell/sky2.c
parentfdaff05b4a67ae6789a8d45c10f891990329f85e (diff)
downloadlinux-cc7eab25b1cf3f9594fe61142d3523ce4d14a788.tar.xz
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: e20aa071cd95 ("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>
Diffstat (limited to 'drivers/net/ethernet/marvell/sky2.c')
0 files changed, 0 insertions, 0 deletions