From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964791AbbJ0Osu (ORCPT ); Tue, 27 Oct 2015 10:48:50 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:37929 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932459AbbJ0Oss (ORCPT ); Tue, 27 Oct 2015 10:48:48 -0400 From: Neil Armstrong Subject: [PATCH 0/6] Further fix for dsa unbinding To: "David S. Miller" Cc: Andrew Lunn , Florian Fainelli , Guenter Roeck , vivien.didelot@savoirfairelinux.com, Fabian Frederick , Pavel Nakonechny , Joe Perches , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Frode Isaksen Organization: Baylibre Message-ID: <562F8ECB.6050709@baylibre.com> Date: Tue, 27 Oct 2015 15:48:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This serie fixes further issues for DSA dynamic unbinding. Frode Isaksen's patches make usage of delayed work and fixes kernel crashes when dsa is unbind. The other patches are simple fixes to permit cleanup and avoid netdev related crashes. Frode Isaksen (3): net: dsa: Use delayed work instead of timer+work for polling net: dsa: Do not reschedule polling if driver removed net: phy: Stop 'phy-state-machine' and 'phy_change' work on remove Neil Armstrong (3): net: dsa: allow switch drivers to cleanup their resources net: dsa: cleanup resources upon module removal net: dsa: Add missing master netdev dev_put() calls drivers/net/phy/phy_device.c | 6 ++++++ include/net/dsa.h | 4 ++-- net/dsa/dsa.c | 46 +++++++++++++++++++++++++------------------- 3 files changed, 34 insertions(+), 22 deletions(-) -- 1.9.1