--- - branch: MAIN date: Thu Aug 23 01:55:38 UTC 2018 files: - new: '1.257' old: '1.256' path: src/sys/netipsec/key.c pathrev: src/sys/netipsec/key.c@1.257 type: modified id: 20180823T015538Z.3394d1e8521c8346bf0505e08542286df9bf7532 log: | Don't call key_ismyaddr, which may sleep, in a pserialize read section Use mutex here instead of pserialize because using mutex is simpler than using psz+ref, which is another solution, and key_checkspidup isn't called in any performance-sensitive paths. module: src subject: 'CVS commit: src/sys/netipsec' unixtime: '1534989338' user: ozaki-r