Messages in this thread |  | | Date | 24 May 2001 01:26:11 MDT | From | Rufuss Angor <> | Subject | set_fs(get_ds()) needed in socket operations? |
| |
Hi, I came across this while developing a networked file system:
If I do the socket ops using standard kernel functions they block forever. The solution I found in some old module was to load the FS segment with the value of DS and then restore it.
Can someone please explain why this is needed? And isn't it architecture dependent?
Thanx for your patience with a newbie...
Ruf
____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |