Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83273
b: refs/heads/master
c: d2f19fa
h: refs/heads/master
i:
  83271: f832908
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Feb 5, 2008
1 parent a9f8a84 commit 526cbda
Show file tree
Hide file tree
Showing 2 changed files with 5 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: b9c4d82a853713d49ac53b507964d7cf30ee408d
refs/heads/master: d2f19fa13ee5e78d4195a771f8f1ff7d42a80740
4 changes: 4 additions & 0 deletions trunk/net/sctp/sm_statefuns.c
Original file line number Diff line number Diff line change
Expand Up @@ -3865,6 +3865,10 @@ sctp_disposition_t sctp_sf_eat_auth(const struct sctp_endpoint *ep,
struct sctp_chunk *err_chunk;
sctp_ierror_t error;

/* Make sure that the peer has AUTH capable */
if (!asoc->peer.auth_capable)
return sctp_sf_unk_chunk(ep, asoc, type, arg, commands);

if (!sctp_vtag_verify(chunk, asoc)) {
sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG,
SCTP_NULL());
Expand Down

0 comments on commit 526cbda

Please sign in to comment.