Hi, Both kernel_sendmsg and kernel_recvmsg take struct msghdr *msg, struct kvec *vec and size_t num as parameters. Can't msg be made a local variable in the functions? Thanx NCKM - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html