patch-2.3.17 linux/net/netrom/af_netrom.c

Next file: linux/net/rose/af_rose.c
Previous file: linux/net/khttpd/misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -1100,10 +1100,6 @@
 	return copied;
 }
 
-static int nr_shutdown(struct socket *sk, int how)
-{
-	return -EOPNOTSUPP;
-}
 
 static int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
 {
@@ -1255,7 +1251,7 @@
 	datagram_poll,
 	nr_ioctl,
 	nr_listen,
-	nr_shutdown,
+	sock_no_shutdown,
 	nr_setsockopt,
 	nr_getsockopt,
 	sock_no_fcntl,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)