summaryrefslogtreecommitdiffstats
path: root/net/phonet/socket.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-10-01 02:36:45 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-01 02:36:45 +0200
commit817b33d38f81c8736d39283c35c886ae4668f1af (patch)
tree64f60a88baf8b48c350d680f8b69fa6c759c3a82 /net/phonet/socket.c
parentMerge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff)
parentax25: Fix possible oops in ax25_make_new (diff)
downloadlinux-817b33d38f81c8736d39283c35c886ae4668f1af.tar.xz
linux-817b33d38f81c8736d39283c35c886ae4668f1af.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: ax25: Fix possible oops in ax25_make_new net: restore tx timestamping for accelerated vlans Phonet: fix mutex imbalance sit: fix off-by-one in ipip6_tunnel_get_prl net: Fix sock_wfree() race net: Make setsockopt() optlen be unsigned.
Diffstat (limited to 'net/phonet/socket.c')
-rw-r--r--net/phonet/socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/phonet/socket.c b/net/phonet/socket.c
index 07aa9f08d5fb..aa5b5a972bff 100644
--- a/net/phonet/socket.c
+++ b/net/phonet/socket.c
@@ -407,7 +407,6 @@ int pn_sock_get_port(struct sock *sk, unsigned short sport)
return -EADDRINUSE;
found:
- mutex_unlock(&port_mutex);
pn->sobject = pn_object(pn_addr(pn->sobject), sport);
return 0;
}