Re: [PATCH] net: Use SK_MEM_QUANTUM as minimum for tcp/udp rmem/wmem

2015-08-12 Thread Sorin Dumitru
On Wed, Aug 12, 2015 at 5:21 PM, Eric Dumazet wrote: > On Tue, 2015-08-11 at 21:54 -0700, Calvin Owens wrote: >> Commit 8133534c760d4083 ("net: limit tcp/udp rmem/wmem to >> SOCK_{RCV,SND}BUF_MIN") modified four sysctls to enforce that the values >> written to them are not less than SOCK_MIN_{RCV,

[PATCH v2] mips: n32: use compat getsockopt syscall

2014-06-20 Thread Sorin Dumitru
The IP_PKTOPTIONS sockopt puts control messages in option_values, these need to be handled differently in the compat case. This is already done through the MSG_CMSG_COMPAT flag, we just need to use compat_sys_getsockopt which sets that flag. Signed-off-by: Sorin Dumitru --- arch/mips/kernel

Re: [PATCH] mips: n32: use compat getsockopt syscall

2014-06-20 Thread Sorin Dumitru
On 06/20/14 12:54, James Hogan wrote: On 20/06/14 08:53, Sorin Dumitru wrote: Signed-off-by: Sorin Dumitru A little more commit message wouldn't hurt. Did it break a particular program? Yes, it was found by an internal program trying to get IP_PKTOPTIONS on a cavium octeon

[PATCH] mips: n32: use compat getsockopt syscall

2014-06-20 Thread Sorin Dumitru
Signed-off-by: Sorin Dumitru --- arch/mips/kernel/scall64-n32.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S index c1dbcda..e543861 100644 --- a/arch/mips/kernel/scall64-n32.S +++ b/arch/mips/kernel/scall64