[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180501.121353.1918662858023133319.davem@davemloft.net>
Date: Tue, 01 May 2018 12:13:53 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: marcelo.leitner@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
vyasevich@...il.com, nhorman@...driver.com, lucien.xin@...il.com
Subject: Re: [PATCH net-next 0/2] sctp: unify sctp_make_op_error_fixed and
sctp_make_op_error_space
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Date: Sun, 29 Apr 2018 12:56:30 -0300
> These two variants are very close to each other and can be merged
> to avoid code duplication. That's what this patchset does.
>
> First, we allow sctp_init_cause to return errors, which then allow us to
> add sctp_make_op_error_limited that handles both situations.
Series applied.
But generally, there are a lot of smtp_init_cause() call sites with non-zero
payload length that should start checking the return value now.
Powered by blists - more mailing lists