I see no evidence of any code in 2.2.16 to do this. I think you are mistaken.
In fact you are
static struct file_operations socket_file_ops = {
..
NULL, /* flush */
So nothing is called in the described case that would even allow shutdown
flags to be set. You are right that the user could call shutdown() then close
thus waking the recvmsg - thats a clean approach.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/