Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 24 Nov 2010 11:17:17 -0800 (PST) | Subject | Re: [PATCH net-next-2.6] scm: lower SCM_MAX_FD | From | David Miller <> |
| |
From: Eric Dumazet <eric.dumazet@gmail.com> Date: Wed, 24 Nov 2010 01:09:15 +0100
> [PATCH net-next-2.6] net: scm: lower SCM_MAX_FD > > Lower SCM_MAX_FD from 255 to 253 so that allocations for scm_fp_list are > halved. (commit f8d570a4 added two pointers in this structure) > > scm_fp_dup() should not copy whole structure (and trigger kmemcheck > warnings), but only the used part. While we are at it, only allocate > needed size. > > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Also applied, thanks Eric.
| ![\](/images/icornerr.gif) |