summaryrefslogtreecommitdiff
path: root/sys/dev/streams
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-08-06 14:26:03 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-08-06 14:26:03 +0000
commit0bf686c1257e2e7944a4cee9d9d628280facaa3d (patch)
tree63e9e0c42ec5669b83e25b5f9cbdcbee7e1be6dc /sys/dev/streams
parentec2af96ad1603562dcbcad9de48a2d0692367e14 (diff)
Notes
Diffstat (limited to 'sys/dev/streams')
-rw-r--r--sys/dev/streams/streams.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index 453c95023b3d..dc67fc53811c 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -244,9 +244,7 @@ streamsopen(struct cdev *dev, int oflags, int devtype, struct thread *td)
return error;
/* An extra reference on `fp' has been held for us by falloc(). */
- NET_LOCK_GIANT();
error = socreate(family, &so, type, protocol, td->td_ucred, td);
- NET_UNLOCK_GIANT();
if (error) {
fdclose(fdp, fp, fd, td);
fdrop(fp, td);