[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47CB0E95.4040601@katalix.com>
Date: Sun, 02 Mar 2008 20:31:17 +0000
From: James Chapman <jchapman@...alix.com>
To: Jarek Poplawski <jarkao2@...il.com>
CC: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH][PPPOL2TP] add missing sock_put() in pppol2tp_recv_dequeue()
Jarek Poplawski wrote:
> Subject: [PPPOL2TP] add missing sock_put() in pppol2tp_recv_dequeue()
>
> Every skb removed from session->reorder_q needs sock_put().
>
>
> Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
Acked-by: James Chapman <jchapman@...alix.com>
>
> ---
>
> drivers/net/pppol2tp.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c
> index e0b072d..dcd4991 100644
> --- a/drivers/net/pppol2tp.c
> +++ b/drivers/net/pppol2tp.c
> @@ -455,6 +455,7 @@ static void pppol2tp_recv_dequeue(struct pppol2tp_session *session)
> skb_queue_len(&session->reorder_q));
> __skb_unlink(skb, &session->reorder_q);
> kfree_skb(skb);
> + sock_put(session->sock);
> continue;
> }
>
--
James Chapman
Katalix Systems Ltd
http://www.katalix.com
Catalysts for your Embedded Linux software development
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists