O> - return dumpcount; > + return rc ? -EFAULT : dumpcount; This is actually at least as wrong as before. The standards say that if you successfully return some data you should report the bytes returned. Normally it doesn't matter much because the data has not been 'lost' when it gets called again. If you actually remove the data from the queue it ought to be getting reported with a suitable length. Alan -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html