mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
dccp: Add missing annotation for dccp_child_process()
Sparse reports a warning at dccp_child_process() warning: context imbalance in dccp_child_process() - unexpected unlock The root cause is the missing annotation at dccp_child_process() Add the missing __releases(child) annotation Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
be21139f35
commit
3283ff2ea7
@@ -216,6 +216,7 @@ EXPORT_SYMBOL_GPL(dccp_check_req);
|
|||||||
*/
|
*/
|
||||||
int dccp_child_process(struct sock *parent, struct sock *child,
|
int dccp_child_process(struct sock *parent, struct sock *child,
|
||||||
struct sk_buff *skb)
|
struct sk_buff *skb)
|
||||||
|
__releases(child)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
const int state = child->sk_state;
|
const int state = child->sk_state;
|
||||||
|
Reference in New Issue
Block a user