Patch to get NFS and IPV6 working as modules

Neil Moore (amethyst@valjean.sfhs.floyd.k12.ky.us)
Thu, 19 Dec 1996 10:17:50 -0500


I had to do some modifications to net/netsyms.c to get NFS and IPV6 to compile
as modules. This has been broken the past 2 or 3 versions, and 2.1.16 still
doesn't fix it. Anyway, here is the patch:

--- linux/net/netsyms.c~ Thu Dec 19 10:07:10 1996
+++ linux/net/netsyms.c Thu Dec 19 10:11:08 1996
@@ -81,6 +81,8 @@
X(sock_unregister),

/* Socket layer support routines */
+ X(sock_sendmsg),
+ X(sock_recvmsg),
X(memcpy_fromiovec),
X(sock_setsockopt),
X(sock_getsockopt),
@@ -135,6 +137,13 @@

#ifdef CONFIG_IPV6_MODULE
/* inet functions common to v4 and v6 */
+ X(neigh_table_ins),
+ X(neigh_tbl_run_bh),
+ X(neigh_alloc),
+ X(neigh_table_init),
+ X(ntbl_walk_table),
+ X(neigh_queue_ins),
+ X(neigh_lookup),
X(inet_stream_ops),
X(inet_dgram_ops),
X(inet_remove_sock),

-- 
-Neil Moore          http://www.sfhs.floyd.k12.ky.us/~amethyst
(finger amethyst@valjean.sfhs.floyd.k12.ky.us for my Geek Code)