Re: [PATCHv2 net-next] sctp: no need to check assoc id before calling sctp_assoc_set_id

2017-06-10 Thread David Miller
From: Xin Long Date: Sat, 10 Jun 2017 15:27:12 +0800 > 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 Also ap

Re: [PATCHv2 net-next] sctp: no need to check assoc id before calling sctp_assoc_set_id

2017-06-10 Thread Marcelo Ricardo Leitner
On Sat, Jun 10, 2017 at 03:27:12PM +0800, Xin Long wrote: > 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 Acke

[PATCHv2 net-next] sctp: no need to check assoc id before calling sctp_assoc_set_id

2017-06-10 Thread Xin Long
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 --- net/sctp/associola.c | 8 ++-- 1 file changed, 2 insertions(+), 6 dele