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

2016-11-15 Thread David Miller
From: Paolo Abeni 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 >

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

2016-11-15 Thread Paolo Abeni
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