[XFRM]: Prevent off-by-one access to xfrm_dispatch
authorThomas Graf <tgraf@suug.ch>
Tue, 3 May 2005 21:26:01 +0000 (14:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2005 21:26:01 +0000 (14:26 -0700)
Makes the type > XFRM_MSG_MAX check behave correctly to
protect access to xfrm_dispatch.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found