Thread (18 messages) 18 messages, 5 authors, 2018-10-18

Re: bond: take rcu lock in netpoll_send_skb_on_dev

From: Eran Ben Elisha <hidden>
Date: 2018-10-18 16:40:28


On 10/18/2018 8:46 AM, Cong Wang wrote:
On Mon, Oct 15, 2018 at 4:36 AM Eran Ben Elisha [off-list ref] wrote:
quoted
Hi,

This suggested fix introduced a regression while using netconsole module
with mlx5_core module loaded.
It is already reported here:
https://marc.info/?l=linux-kernel&m=153917359528669&w=2

quoted
During irq handling, we hit a warning that this rcu_read_lock_bh cannot
be taken inside an IRQ.
Yes, I mentioned the same even before this patch was sent out:
https://marc.info/?l=linux-netdev&m=153816136624679&w=2
Thanks Cong.
 From the discussion, I understand that the solution shouldn't be 
touching  netpoll_send_skb_on_dev. Some modules/drivers logging will now 
trigger traces while netconsole is loaded.

DaveJ,
Can you please submit a proper fix or at least revert the current one in 
the meanwhile.

Thanks,
Eran
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help