patch-2.0.37 linux/net/ipv4/rarp.c

Next file: linux/net/netlink.c
Previous file: linux/net/ipv4/ip_sockglue.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.36/linux/net/ipv4/rarp.c linux/net/ipv4/rarp.c
@@ -189,6 +189,8 @@
         rarp_pkt_inited=1;
 }
 
+#ifdef MODULE
+
 static void rarp_end_pkt(void)
 {
         if(!rarp_pkt_inited)
@@ -197,6 +199,8 @@
         unregister_netdevice_notifier(&rarp_dev_notifier);
         rarp_pkt_inited=0;
 }
+
+#endif
 
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov