[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161115.115953.28961096557280844.davem@redhat.com>
Date: Tue, 15 Nov 2016 11:59:53 -0500 (EST)
From: David Miller <davem@...hat.com>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, avagin@...il.com,
hannes@...essinduktion.org
Subject: Re: [PATCH net-next] udplite: fix NULL pointer dereference
From: Paolo Abeni <pabeni@...hat.com>
Date: Tue, 15 Nov 2016 16:37:53 +0100
> The commit 850cbaddb52d ("udp: use it's own memory accounting schema")
> assumes that the socket proto has memory accounting enabled,
> but this is not the case for UDPLITE.
> Fix it enabling memory accounting for UDPLITE and performing
> fwd allocated memory reclaiming on socket shutdown.
> UDP and UDPLITE share now the same memory accounting limits.
> Also drop the backlog receive operation, since is no more needed.
>
> Fixes: 850cbaddb52d ("udp: use it's own memory accounting schema")
> Reported-by: Andrei Vagin <avagin@...il.com>
> Suggested-by: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied, thank you.
Powered by blists - more mailing lists