Re: [PATCH net] sctp: fix the check for _sctp_walk_params and _sctp_walk_errors

2017-07-27 Thread David Miller
From: Xin Long Date: Wed, 26 Jul 2017 16:24:59 +0800 > Commit b1f5bfc27a19 ("sctp: don't dereference ptr before leaving > _sctp_walk_{params, errors}()") tried to fix the issue that it > may overstep the chunk end for _sctp_walk_{params, errors} with > 'chunk_end > offset(length) + sizeof(length)

Re: [PATCH net] sctp: fix the check for _sctp_walk_params and _sctp_walk_errors

2017-07-26 Thread Neil Horman
On Wed, Jul 26, 2017 at 04:24:59PM +0800, Xin Long wrote: > Commit b1f5bfc27a19 ("sctp: don't dereference ptr before leaving > _sctp_walk_{params, errors}()") tried to fix the issue that it > may overstep the chunk end for _sctp_walk_{params, errors} with > 'chunk_end > offset(length) + sizeof(leng