sctp: clear out_curr if all frag chunks of current msg are pruned
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.10 by commit 3eff34e01062ec08fbb45ce2baaaa644550be821, it was introduced in version v4.15 by commit 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51. For more details please see the references link.