Steffen Klassert <steffen.klass...@secunet.com> wrote: > I gave the patch a quick try, but still I get this: > > unregister_netdevice: waiting for dummy1 to become free. Usage count = 2
Was that with Eyals setup or the bridge one I posted? If it was Eyals setup, its possible the patch missed hookup to whatever tunnel infra is used (the setup I used has ipip tunnel, everything is ipv4). Also, perhaps it would be best to not bother with checking the device in question at all and unconditionally put device reference of all the dst_caches. With setups that have e.g. 1k devices going down per second (ppp dialin and the like) doing the full search for every notify event would be rather expensive.