Fix the following LOR reported by the FreeBSD kyua test suite -
1st 0xffffffff81c900e0 allprison (allprison) @ /usr/src/sys/kern/kern_jail.c:984
2nd 0xffffffff81d9b690 vnet_sysinit_sxlock (vnet_sysinit_sxlock) @ /usr/src/sys/net/vnet.c:577
Differential D25560
Fix a lock order reversal during jail/vnet creation syrinx on Jul 4 2020, 8:31 AM. Authored by Tags None Referenced Files
Subscribers
Details Fix the following LOR reported by the FreeBSD kyua test suite - 1st 0xffffffff81c900e0 allprison (allprison) @ /usr/src/sys/kern/kern_jail.c:984 On a kernel with WITNESS options enabled, run an inet test, e.g. kyua test -k /usr/tests/sys/netinet/Kyuafile forward:fwd_ip_icmp_gw_fast_success Verify no lock order reversals are reported.
Diff Detail
Event TimelineComment Actions The patch looks good to me, but I'm unable to get that LOR on an unpatched system. Has something been fixed in the meantime? |