Re: [PATCH net] net: fix possible overflow in __sk_mem_raise_allocated()

2019-02-13 Thread David Miller
From: Eric Dumazet Date: Tue, 12 Feb 2019 12:26:27 -0800 > With many active TCP sockets, fat TCP sockets could fool > __sk_mem_raise_allocated() thanks to an overflow. > > They would increase their share of the memory, instead > of decreasing it. > > Signed-off-by: Eric Dumazet Applied, thank

[PATCH net] net: fix possible overflow in __sk_mem_raise_allocated()

2019-02-12 Thread Eric Dumazet
With many active TCP sockets, fat TCP sockets could fool __sk_mem_raise_allocated() thanks to an overflow. They would increase their share of the memory, instead of decreasing it. Signed-off-by: Eric Dumazet --- include/net/sock.h | 2 +- net/core/sock.c| 2 +- 2 files changed, 2 insertions