Thread (2 messages) flat view 2 messages, 2 authors, 2016-11-15

Re: [PATCH net-next] udplite: fix NULL pointer dereference

From: David Miller <hidden>
Date: 2016-11-15 16:59:58

From: Paolo Abeni <pabeni@redhat.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 <redacted>
Suggested-by: Eric Dumazet <redacted>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help