X-Git-Url: http://bbs.cooldavid.org/git/?a=blobdiff_plain;f=include%2Fnet%2Fscm.h;h=745460fa2f02cdd96e6b6befd79b8791d95965fd;hb=bba14de98753cb6599a2dae0e520714b2153522d;hp=31656506d967a4a2349a74a158cdb3fa3ecb6986;hpb=57e35381bc13e6f18ac1ec255ca61ba1a5103e13;p=net-next-2.6.git 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]; };