Messages in this thread | | | Date | Thu, 25 Jan 2007 19:34:07 +0300 | From | Oleg Nesterov <> | Subject | Re: + aio-completion-signal-notification.patch added to -mm tree |
| |
On 01/25, Oleg Nesterov wrote: > > Sebastien Dugue wrote: > > > > + if (iocb->ki_notify.notify != SIGEV_NONE) { > > + ret = aio_send_signal(&iocb->ki_notify); > > + > > + /* If signal generation failed, release the sigqueue */ > > + if (ret) > > + sigqueue_free(iocb->ki_notify.sigq); > > We should not use sigqueue_free() here. It takes current->sighand->siglock > to remove sigqueue from "struct sigpending". But current is just a "random" > process here.
... and it is possible that current->sighand == NULL.
Oleg.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |