OSDN Git Service

sctp: check pl.raise_count separately from its increment
authorXin Long <lucien.xin@gmail.com>
Wed, 30 Jun 2021 03:30:36 +0000 (23:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 18:46:44 +0000 (11:46 -0700)
commit650b2a846dddf33321489597287e6d825ec1d0ba
tree57b313d0e209abecdc0e5c98448c14748cf0cf20
parent5a3c680aa2c12c90c44af383fe6882a39875ab81
sctp: check pl.raise_count separately from its increment

As Marcelo's suggestion this will make code more clear to read.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/transport.c