sctp: no need to check assoc id before calling sctp_assoc_set_id
authorXin Long <lucien.xin@gmail.com>
Sat, 10 Jun 2017 07:27:12 +0000 (15:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 20:23:31 +0000 (16:23 -0400)
commit4abf5a653bf837aa93ad3fcf7cc918e90f44fb2d
tree7241d1b73241cf1c782ed695a12837395bf4fc72
parentc0a4c2d1cde70d876da3f5a76a7284abf8d1800a
sctp: no need to check assoc id before calling sctp_assoc_set_id

sctp_assoc_set_id does the assoc id check in the beginning when
processing dupcookie, no need to do the same check before calling
it.

v1->v2:
  fix some typo errs Marcelo pointed in changelog.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c