Re: [PATCH 1/2] net/core: use local_bh_disable() in netif_rx_ni()

2017-06-20 Thread David Miller
From: Sebastian Andrzej Siewior Date: Fri, 16 Jun 2017 19:23:59 +0200 > In 2004 [0] netif_rx_ni() gained a preempt_disable() section around > netif_rx() and its do_softirq() + testing for it. The do_softirq() part > is required because netif_rx() raises the softirq but

[PATCH 1/2] net/core: use local_bh_disable() in netif_rx_ni()

2017-06-16 Thread Sebastian Andrzej Siewior
In 2004 [0] netif_rx_ni() gained a preempt_disable() section around netif_rx() and its do_softirq() + testing for it. The do_softirq() part is required because netif_rx() raises the softirq but does not invoke it. The preempt_disable() is required to avoid running the BH in parallel. All this can