Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327738
b: refs/heads/master
c: 46b66d7
h: refs/heads/master
v: v3
  • Loading branch information
Xi Wang authored and David S. Miller committed Aug 31, 2012
1 parent 29d4e90 commit c33147d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 6c9ff979d1921e9fd05d89e1383121c2503759b9
refs/heads/master: 46b66d7077b89fb4917ceef19b3f7dd86055c94a
4 changes: 2 additions & 2 deletions trunk/net/decnet/af_decnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1313,10 +1313,10 @@ static int dn_shutdown(struct socket *sock, int how)
if (scp->state == DN_O)
goto out;

if (how != SHUTDOWN_MASK)
if (how != SHUT_RDWR)
goto out;

sk->sk_shutdown = how;
sk->sk_shutdown = SHUTDOWN_MASK;
dn_destroy_sock(sk);
err = 0;

Expand Down

0 comments on commit c33147d

Please sign in to comment.