sctp: Add missing annotation for sctp_transport_walk_stop()
authorJules Irenge <jbi.octave@gmail.com>
Sun, 23 Feb 2020 23:16:47 +0000 (23:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 21:26:49 +0000 (13:26 -0800)
commitb77b4f634e5f7b0477e682ad643cbad43b7d9d93
treef81a3e18360823741ae4097414ce7008b2c9cdf4
parent6c72b7740c8665671c0d5d3001490c0e41939c1f
sctp: Add missing annotation for sctp_transport_walk_stop()

Sparse reports a warning at sctp_transport_walk_stop()

warning: context imbalance in sctp_transport_walk_stop
- wrong count at exit

The root cause is the missing annotation at sctp_transport_walk_stop()
Add the missing __releases(RCU) annotation

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c