--- - branch: MAIN date: Thu Nov 10 03:32:04 UTC 2016 files: - new: '1.15' old: '1.14' path: src/sys/arch/x86/x86/vmt.c pathrev: src/sys/arch/x86/x86/vmt.c@1.15 type: modified id: 20161110T033204Z.8f8109844eba40221dddae6e0d495b0345c9d91e log: | Fix a breakout of loops As the comment "find first available ipv4 address" indicates, if an IP address is found, we need to leave the two nested loops, a loop for an interface list and a loop for IP addresses of an interface. However, the original code broke away only from the inner loop. The original (wrong) behavior was non-critical, which just returned a non-first IP address. Unfortunately, after applying psref, the behavior may call psref_acquire twice to a target with the same psref object, resulting in a kernel panic eventually. module: src subject: 'CVS commit: src/sys/arch/x86/x86' unixtime: '1478748724' user: ozaki-r