Received: with ECARTIS (v1.0.0; list netdev); Fri, 16 Jan 2004 18:22:29 -0800 (PST) Received: from yue.hongo.wide.ad.jp (yue.hongo.wide.ad.jp [203.178.135.30]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i0H2MFmK027448 for ; Fri, 16 Jan 2004 18:22:16 -0800 Received: from localhost (localhost [127.0.0.1]) by yue.hongo.wide.ad.jp (Postfix) with ESMTP id 1459133CA5; Sat, 17 Jan 2004 11:22:45 +0900 (JST) Date: Sat, 17 Jan 2004 11:22:44 +0900 (JST) Message-Id: <20040117.112244.90941296.yoshfuji@linux-ipv6.org> To: shemminger@osdl.org Cc: davem@redhat.com, netdev@oss.sgi.com, yoshfuji@linux-ipv6.org Subject: Re: [PATCH] (2/4) support large number of network devices -- name hash From: YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= In-Reply-To: <20040116154814.7c7f31ac.shemminger@osdl.org> References: <20040116154652.04dd3324.shemminger@osdl.org> <20040116154814.7c7f31ac.shemminger@osdl.org> Organization: USAGI Project X-URL: http://www.yoshifuji.org/%7Ehideaki/ X-Fingerprint: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA X-PGP-Key-URL: http://www.yoshifuji.org/%7Ehideaki/hideaki@yoshifuji.org.asc X-Face: "5$Al-.M>NJ%a'@hhZdQm:."qn~PA^gq4o*>iCFToq*bAi#4FRtx}enhuQKz7fNqQz\BYU] $~O_5m-9'}MIs`XGwIEscw;e5b>n"B_?j/AkL~i/MEaZBLP X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-archive-position: 2563 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: yoshfuji@linux-ipv6.org Precedence: bulk X-list: netdev Content-Length: 351 Lines: 9 In article <20040116154814.7c7f31ac.shemminger@osdl.org> (at Fri, 16 Jan 2004 15:48:14 -0800), Stephen Hemminger says: > + size_t len = min(strlen(name),(size_t)(IFNAMSIZ-1)); strnlen(name, IFNAMESIZ) ? -- Hideaki YOSHIFUJI @ USAGI Project GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA