Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184595
b: refs/heads/master
c: 76dadd7
h: refs/heads/master
i:
  184593: 69b01a9
  184591: 5b97cb1
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed Mar 1, 2010
1 parent 48197b8 commit 7cc1b7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39286fa41a8b2c6a9c1f656a7b3c3efca95bc1b9
refs/heads/master: 76dadd76c265a0cdb5a76aa4eef03fcc9639b388
2 changes: 2 additions & 0 deletions trunk/net/core/scm.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p)
switch (cmsg->cmsg_type)
{
case SCM_RIGHTS:
if (!sock->ops || sock->ops->family != PF_UNIX)
goto error;
err=scm_fp_copy(cmsg, &p->fp);
if (err<0)
goto error;
Expand Down

0 comments on commit 7cc1b7e

Please sign in to comment.