commit | 73654d61e556483ad324b90989eae26b22df6ef6 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sat May 27 23:06:33 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Jun 17 21:28:43 2006 -0700 |
tree | f3aee3be0e35bb6012917b71ed77301de6b39ad4 | |
parent | 31a4ab93025719e62e7cf7ce899f71c34ecde5a0 [diff] |
[IPSEC] xfrm: Use IPPROTO_MAX instead of 256 The size of the type_map array (256) comes from the number of IP protocols, i.e., IPPROTO_MAX. This patch is based on a suggestion from Ingo Oeser. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>