Re: [PATCH net] sctp: set chunk transport correctly when it's a new asoc

2019-01-24 Thread David Miller
From: Xin Long Date: Tue, 22 Jan 2019 02:42:09 +0800 > In the paths: > > sctp_sf_do_unexpected_init() -> > sctp_make_init_ack() > sctp_sf_do_dupcook_a/b()() -> > sctp_sf_do_5_1D_ce() > > The new chunk 'retval' transport is set from the incoming chunk 'chunk' > transport. However, 'r

[PATCH net] sctp: set chunk transport correctly when it's a new asoc

2019-01-21 Thread Xin Long
In the paths: sctp_sf_do_unexpected_init() -> sctp_make_init_ack() sctp_sf_do_dupcook_a/b()() -> sctp_sf_do_5_1D_ce() The new chunk 'retval' transport is set from the incoming chunk 'chunk' transport. However, 'retval' transport belong to the new asoc, which is a different one from 'c