diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-11-23 14:09:15 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-24 19:16:43 (GMT) |
commit | bba14de98753cb6599a2dae0e520714b2153522d (patch) | |
tree | b771ef780aa0808d3eb7827d527920c07215c4fa /drivers | |
parent | 456b61bca8ee324ab6c18b065e632c9a8c88aa39 (diff) | |
download | linux-bba14de98753cb6599a2dae0e520714b2153522d.tar.xz |
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions