avoid OPEN_MAX in SCM_MAX_FD
commitc09edd6eba683741bb8aa8e388a2bfaf1c1a28f9
authorRoland McGrath <roland@redhat.com>
Tue, 17 Jul 2007 11:03:48 +0000 (17 04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:03 +0000 (17 10:23 -0700)
treeaf9052388c6244b7bece50b23dae454482ecc501
parentf4480240f700587c15507b7815e75989b16825b2
avoid OPEN_MAX in SCM_MAX_FD

The OPEN_MAX constant is an arbitrary number with no useful relation to
anything.  Nothing should be using it.  SCM_MAX_FD is just an arbitrary
constant and it should be clear that its value is chosen in net/scm.h
and not actually derived from anything else meaningful in the system.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/net/scm.h