Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83274
b: refs/heads/master
c: 7cc08b5
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Feb 5, 2008
1 parent 526cbda commit 7a64cad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d2f19fa13ee5e78d4195a771f8f1ff7d42a80740
refs/heads/master: 7cc08b55fc476a9474e4dc9da41071b5dc2b406e
6 changes: 3 additions & 3 deletions trunk/net/sctp/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,15 +420,15 @@ struct sctp_shared_key *sctp_auth_get_shkey(
const struct sctp_association *asoc,
__u16 key_id)
{
struct sctp_shared_key *key = NULL;
struct sctp_shared_key *key;

/* First search associations set of endpoint pair shared keys */
key_for_each(key, &asoc->endpoint_shared_keys) {
if (key->key_id == key_id)
break;
return key;
}

return key;
return NULL;
}

/*
Expand Down

0 comments on commit 7a64cad

Please sign in to comment.