Max Buffer Size for in-kernel client & server

From: UZAIR LAKHANI
Date: Sat May 20 2006 - 07:52:26 EST


Hello All,

I have tried to implement socket programming in kernel
space. The client and server are communicating using a
buffer. The size of this buffer is 1K (1024 bytes).
The client and server are able to communicate using
this size buffer but since this size i.e. 1K is very
small and since we are using this buffer for testing
file system functions we require a bigger buffer of
about 4K or 8K.

The problem is that when I try to change my buffer
size to 4K or even 2K, the system hangs and no
communication b/w client and server can take place. I
want to inquire whether the max buffer limit is 1K. If
not then what changes I have to make in my client &
server kernel modules.

Thanks,
Uzair Lakhani,
Karachi, Pakistan.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: 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