[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180621.124955.2286652194431567817.davem@davemloft.net>
Date: Thu, 21 Jun 2018 12:49:55 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: marcelo.leitner@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
nhorman@...driver.com, vyasevich@...il.com
Subject: Re: [PATCH net] sctp: fix erroneous inc of snmp SctpFragUsrMsgs
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Date: Wed, 20 Jun 2018 12:47:52 -0300
> Currently it is incrementing SctpFragUsrMsgs when the user message size
> is of the exactly same size as the maximum fragment size, which is wrong.
>
> The fix is to increment it only when user message is bigger than the
> maximum fragment size.
>
> Fixes: bfd2e4b8734d ("sctp: refactor sctp_datamsg_from_user")
> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Applied.
Powered by blists - more mailing lists