X.25 Add missing sock_put in x25_receive_data
Subsystems (3)
PATCH 1/1 X.25 Add missing sock_put in x25_receive_data
__x25_find_socket does a sock_hold.
This adds a missing sock_put in x25_receive_data.
Signed-off-by Andrew Hendry <[email protected]>
net/x25/x25_dev.c +1 -0
@@ -56,6 +56,7 @@ static int x25_receive_data(struct sk_busk_add_backlog (sk, skb); }bh_unlock_sock (sk); +sock_put (sk);return queued; }
From: ahendry <[email protected]>
Date: Tue, 09 Jan 2007 09:32:17 +1100
Quoted 4 lines
__x25_find_socketdoes asock_hold.
This adds a missingsock_putinx25_receive_data.Signed-off-by Andrew Hendry <[email protected]>
Applied, thanks a lot.