[PATCH v4 01/12] device: protect socket_init with device_update_lock

Julian Orth ju.orth at gmail.com
Sun Oct 7 17:55:42 CEST 2018


On 10/7/18 5:48 PM, Jason A. Donenfeld wrote:
> set_device takes rtnl_lock(), and ndo_open is called while holding the
> rtnl lock too.  (Try adding `BUG_ON(!rtnl_is_locked());` there.)

I've confirmed this and will remove this patch from the next version.



More information about the WireGuard mailing list