From: Eric Dumazet Date: Tue, 23 Nov 2010 14:09:15 +0000 (+0000) Subject: scm: lower SCM_MAX_FD X-Git-Tag: v2.6.38-rc1~476^2~457 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bba14de98753cb6599a2dae0e520714b2153522d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed