--- - branch: netbsd-5-0 date: Mon Aug 8 19:36:02 UTC 2011 files: - new: 1.230.4.1.2.1 old: 1.230.4.1 path: src/sys/net/if.c pathrev: src/sys/net/if.c@1.230.4.1.2.1 type: modified id: 20110808T193602Z.90c4f82dee32fbbe5be99c12521d67b8fdb0985e log: "Pull up following revision(s) (requested by sborrill in ticket #1643):\n\tsys/net/if.c: revision 1.243\nPrevent if_detach() from crashing while it walks the routing table\nto find and unlink routes that reference the detached ifnet: make\nif_rt_walktree() return ERESTART whenever it has deleted a route.\nWhenever rt_walktree() returns ERESTART, if_detach() restarts it.\nI believe that this fix resembles one by Jonathan Kollasch or by someone\nelse, which has languished in a PR for too long. Sorry!\nTested by me and by Jeff Rizzo.\nXXX It's supposed to be safe for rn_walktree() to apply to the routing\nXXX table a routine that may delete routes. Why isn't it safe in\nXXX practice?\n" module: src subject: 'CVS commit: [netbsd-5-0] src/sys/net' unixtime: '1312832162' user: riz