diff options
Diffstat (limited to 'include/net/sctp/sm.h')
-rw-r--r-- | include/net/sctp/sm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h index 61d73e37d543..4088c89a9055 100644 --- a/include/net/sctp/sm.h +++ b/include/net/sctp/sm.h | |||
@@ -438,7 +438,7 @@ sctp_vtag_verify_either(const struct sctp_chunk *chunk, | |||
438 | */ | 438 | */ |
439 | if ((!sctp_test_T_bit(chunk) && | 439 | if ((!sctp_test_T_bit(chunk) && |
440 | (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || | 440 | (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || |
441 | (sctp_test_T_bit(chunk) && | 441 | (sctp_test_T_bit(chunk) && asoc->c.peer_vtag && |
442 | (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { | 442 | (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { |
443 | return 1; | 443 | return 1; |
444 | } | 444 | } |