Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 78ac814f authored by wangweidong's avatar wangweidong Committed by David S. Miller
Browse files

sctp: disable max_burst when the max_burst is 0



As Michael pointed out that when max_burst is 0, it just disable
max_burst. It declared in rfc6458#section-8.1.24. so add the check
in sctp_transport_burst_limited, when it 0, just do nothing.

Reviewed-by: default avatarDaniel Borkmann <dborkman@redhat.com>
Suggested-by: default avatarVlad Yasevich <vyasevich@gmail.com>
Suggested-by: default avatarMichael Tuexen <Michael.Tuexen@lurchi.franken.de>
Signed-off-by: default avatarWang Weidong <wangweidong1@huawei.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Acked-by: default avatarVlad Yasevich <vyasevich@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd0df47d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment