Re: INFO: rcu detected stall in wg_packet_tx_worker

From: Jason A. Donenfeld
Date: Sun Apr 26 2020 - 15:53:01 EST


It looks like part of the issue might be that I call
udp_tunnel6_xmit_skb while holding rcu_read_lock_bh, in
drivers/net/wireguard/socket.c. But I think there's good reason to do
so, and udp_tunnel6_xmit_skb should be rcu safe. In fact,
every.single.other user of udp_tunnel6_xmit_skb in the kernel uses it
with rcu locked. So, hm...