[NET]: Make macro to specify the ptype_base size
authorPavel Emelyanov <xemul@openvz.org>
Mon, 26 Nov 2007 12:12:58 +0000 (20:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:04 +0000 (14:55 -0800)
commit82d8a867ffaed7fe58e789103b32c0fc6b79dafd
tree091c5c972c97a4a3433b9c291990068115fbdbfd
parent8d8ad9d7c4bfe79bc91b7fc419ecfb9dcdfe6a51
[NET]: Make macro to specify the ptype_base size

Currently this size is 16, but as the comment says this
is so only because all the chains (except one) has the
length 1. I think, that some day this may change, so
growing this hash will be much easier.

Besides, symbolic names are read better than magic constants.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c