[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151027.194602.2000759526217015723.davem@davemloft.net>
Date: Tue, 27 Oct 2015 19:46:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] forcedeth: fix unilateral interrupt disabling in
netpoll path
From: Neil Horman <nhorman@...driver.com>
Date: Mon, 26 Oct 2015 12:24:22 -0400
> Forcedeth currently uses disable_irq_lockdep and enable_irq_lockdep, which in
> some configurations simply calls local_irq_disable. This causes errant warnings
> in the netpoll path as in netpoll_send_skb_on_dev, where we disable irqs using
> local_irq_save, leading to the following warning:
...
> Fix it by modifying the forcedeth code to use
> disable_irq_nosync_lockdep_irqsavedisable_irq_nosync_lockdep_irqsave instead,
> which saves and restores irq state properly. This also saves us a little code
> in the process
>
> Tested by the reporter, with successful restuls
>
> Patch applies to the head of the net tree
>
> Signed-off-by: Neil Horman <nhorman@...driver.com>
> CC: "David S. Miller" <davem@...emloft.net>
> Reported-by: Vasily Averin <vvs@...ru>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists