Searched hist:bba14de98753cb6599a2dae0e520714b2153522d (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/net/ |
H A D | scm.h | diff bba14de98753cb6599a2dae0e520714b2153522d Tue Nov 23 08:09:15 CST 2010 Eric Dumazet <eric.dumazet@gmail.com> 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>
|
/openbmc/linux/net/core/ |
H A D | scm.c | diff bba14de98753cb6599a2dae0e520714b2153522d Tue Nov 23 08:09:15 CST 2010 Eric Dumazet <eric.dumazet@gmail.com> 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>
|