diff options
| author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-11-23 14:09:15 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-07 13:47:36 -0800 |
| commit | fa0a1136645f7a31c789d46272af3b298390c4e0 (patch) | |
| tree | 79416caf2e24b196a737c37a78de5a5fccdb57bd /net/bluetooth/l2cap.c | |
| parent | 425f213726d314c0820a63cac1389d19a76df37f (diff) | |
scm: lower SCM_MAX_FD
commit bba14de98753cb6599a2dae0e520714b2153522d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/bluetooth/l2cap.c')
0 files changed, 0 insertions, 0 deletions
