Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352528
b: refs/heads/master
c: 6cf1c5f
h: refs/heads/master
v: v3
  • Loading branch information
Andy King authored and David S. Miller committed Feb 18, 2013
1 parent 4398bbb commit 5318d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b8ca5344f82e594e21c9fbbdf3b13507ecdb5a2
refs/heads/master: 6cf1c5fc26c6507bcb0edced6fcda876a79b5a6d
2 changes: 1 addition & 1 deletion trunk/net/vmw_vsock/af_vsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ static int vsock_create(struct net *net, struct socket *sock,
if (!sock)
return -EINVAL;

if (protocol)
if (protocol && protocol != PF_VSOCK)
return -EPROTONOSUPPORT;

switch (sock->type) {
Expand Down

0 comments on commit 5318d93

Please sign in to comment.