X-Git-Url: http://bbs.cooldavid.org/git/?p=net-next-2.6.git;a=blobdiff_plain;f=include%2Fnet%2Fscm.h;h=745460fa2f02cdd96e6b6befd79b8791d95965fd;hp=31656506d967a4a2349a74a158cdb3fa3ecb6986;hb=bba14de98753cb6599a2dae0e520714b2153522d;hpb=456b61bca8ee324ab6c18b065e632c9a8c88aa39 diff --git a/include/net/scm.h b/include/net/scm.h index 31656506d96..745460fa2f0 100644 --- a/include/net/scm.h +++ b/include/net/scm.h @@ -10,11 +10,12 @@ /* Well, we should have at least one descriptor open * to accept passed FDs 8) */ -#define SCM_MAX_FD 255 +#define SCM_MAX_FD 253 struct scm_fp_list { struct list_head list; - int count; + short count; + short max; struct file *fp[SCM_MAX_FD]; };