using sockets in kernel threads

Frode L. Odegard (frode@odegard.com)
Mon, 30 Nov 1998 02:29:00 -0800


Dear all,

I am writing a kernel module that needs to start a kernel thread to open up
a
TCP socket and do I/O on it. Without going into the justification for why I
need
to do this in a kernel thread, is there some example code anywhere that
shows how
to do this? The socket.c code appears to assume that it is being called
from the
user side.

Frode L. Odegard

-
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/