tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: panic in soreceive()
yamt%mwd.biglobe.ne.jp@localhost said:
> fifofs should take kernel_lock for socket.
thanks -- with the appended patch I can't reproduce
the problem anymore
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
#
# old_revision [d3b74e67f304db730dd1e4517223a62a2141d9dc]
#
# patch "sys/miscfs/fifofs/fifo_vnops.c"
# from [6517d1a0ca42dd690018e0820325d000a83bd143]
# to [6ae82b77e436e5ed1fdf21bc9e67a891713bec22]
#
============================================================
--- sys/miscfs/fifofs/fifo_vnops.c 6517d1a0ca42dd690018e0820325d000a83bd143
+++ sys/miscfs/fifofs/fifo_vnops.c 6ae82b77e436e5ed1fdf21bc9e67a891713bec22
@@ -152,6 +152,8 @@ fifo_open(void *v)
vp = ap->a_vp;
p = l->l_proc;
+ vp->v_vflag &= ~VV_MPSAFE;
+
if ((fip = vp->v_fifoinfo) == NULL) {
MALLOC(fip, struct fifoinfo *, sizeof(*fip), M_VNODE, M_WAITOK);
vp->v_fifoinfo = fip;
Home |
Main Index |
Thread Index |
Old Index