]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit875fcb54a94bbb10614b5252f89a333128db8a70
treef81a3e18360823741ae4097414ce7008b2c9cdf4
parent84972210031e735859ef89a9c9abbec3efe1414f
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