patch-2.3.99-pre6 linux/net/appletalk/ddp.c
Next file: linux/net/atm/clip.c
Previous file: linux/net/802/tr.c
Back to the patch index
Back to the overall index
- Lines: 50
- Date:
Mon Apr 24 13:43:04 2000
- Orig file:
v2.3.99-pre5/linux/net/appletalk/ddp.c
- Orig date:
Tue Mar 14 19:10:40 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -292,7 +292,7 @@
if (pos > offset + length) /* We have dumped enough */
break;
}
- spin_lock_bh(&atalk_sockets_lock);
+ spin_unlock_bh(&atalk_sockets_lock);
/* The data in question runs from begin to begin+len */
*start = buffer + (offset - begin); /* Start of wanted data */
@@ -2055,24 +2055,23 @@
static struct proto_ops SOCKOPS_WRAPPED(atalk_dgram_ops)=
{
- PF_APPLETALK,
+ family: PF_APPLETALK,
- atalk_release,
- atalk_bind,
- atalk_connect,
- sock_no_socketpair,
- sock_no_accept,
- atalk_getname,
- datagram_poll,
- atalk_ioctl,
- sock_no_listen,
- sock_no_shutdown,
- sock_no_setsockopt,
- sock_no_getsockopt,
- sock_no_fcntl,
- atalk_sendmsg,
- atalk_recvmsg,
- sock_no_mmap
+ release: atalk_release,
+ bind: atalk_bind,
+ connect: atalk_connect,
+ socketpair: sock_no_socketpair,
+ accept: sock_no_accept,
+ getname: atalk_getname,
+ poll: datagram_poll,
+ ioctl: atalk_ioctl,
+ listen: sock_no_listen,
+ shutdown: sock_no_shutdown,
+ setsockopt: sock_no_setsockopt,
+ getsockopt: sock_no_getsockopt,
+ sendmsg: atalk_sendmsg,
+ recvmsg: atalk_recvmsg,
+ mmap: sock_no_mmap,
};
#include <linux/smp_lock.h>
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)