• Sebastian Andrzej Siewior's avatar
    net: phy: micrel: Move netif_rx() outside of IRQ-off section. · 67dbd6c0
    Sebastian Andrzej Siewior authored
    lan8814_match_rx_ts() invokes netif_rx() with disables interrupts
    outside which will create a warning. Invoking netif_rx_ni() with
    disabled interrupts is wrong even without the recent rework because
    netif_rx_ni() would enable interrupts while processing the softirq. This
    in turn can lead to dead lock if an interrupts triggers and attempts to
    acquire kszphy_ptp_priv::rx_ts_lock.
    
    Move netif_rx() outside the IRQ-off section.
    
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Heiner Kallweit <hkallweit1@gmail.com>
    Cc: Russell King <linux@armlinux.org.uk>
    Cc: Divya Koppera <Divya.Koppera@microchip.com>
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    67dbd6c0
micrel.c 79.4 KB