From 500327e835adcd446658e553b56b33f9e2c9d553 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Fri, 30 Apr 2010 21:42:44 -0400 Subject: [PATCH] --- yaml --- r: 194632 b: refs/heads/master c: 52688d6ec977e69b164e0bd3de51d43cf6d4b7b3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/sctp/sm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 158cb6fce57f..b7e19f35b9d7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bd69b981a354be40cc709f3046f0c56f00da6163 +refs/heads/master: 52688d6ec977e69b164e0bd3de51d43cf6d4b7b3 diff --git a/trunk/include/net/sctp/sm.h b/trunk/include/net/sctp/sm.h index 851c813adb3a..273a8bb683e3 100644 --- a/trunk/include/net/sctp/sm.h +++ b/trunk/include/net/sctp/sm.h @@ -437,7 +437,7 @@ sctp_vtag_verify_either(const struct sctp_chunk *chunk, */ if ((!sctp_test_T_bit(chunk) && (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || - (sctp_test_T_bit(chunk) && + (sctp_test_T_bit(chunk) && asoc->c.peer_vtag && (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { return 1; }