patch-2.3.17 linux/net/atm/pvc.c

Next file: linux/net/core/iovec.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/net/atm/pvc.c linux/net/atm/pvc.c
@@ -62,18 +62,6 @@
 }
 
 
-static int pvc_listen(struct socket *sock,int backlog)
-{
-	return -EOPNOTSUPP;
-}
-
-
-static int pvc_accept(struct socket *sock,struct socket *newsock,int flags)
-{
-	return -EOPNOTSUPP;
-}
-
-
 static int pvc_getname(struct socket *sock,struct sockaddr *sockaddr,
     int *sockaddr_len,int peer)
 {
@@ -100,11 +88,11 @@
 	pvc_bind,
 	pvc_connect,
 	sock_no_socketpair,
-	pvc_accept,
+	sock_no_accept,
 	pvc_getname,
 	atm_poll,
 	atm_ioctl,
-	pvc_listen,
+	sock_no_listen,
 	pvc_shutdown,
 	atm_setsockopt,
 	atm_getsockopt,

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