Commit:     9d0f7d29f38d4f7bf66d38d448a7d23e0bed9074
Parent:     732ba35e759112be5cecd79d4351084edf88dba7
Author:     Andrew Hendry <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 15 19:29:31 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jan 23 20:25:48 2007 -0800

    [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]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/x25/x25_dev.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/x25/x25_dev.c b/net/x25/x25_dev.c
index 47b68a3..328d80f 100644
--- a/net/x25/x25_dev.c
+++ b/net/x25/x25_dev.c
@@ -56,6 +56,7 @@ static int x25_receive_data(struct sk_buff *skb, struct 
x25_neigh *nb)
                        sk_add_backlog(sk, skb);
+               sock_put(sk);
                return queued;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to