Re: [IPSEC]: Fix tunnel error handling in ipcomp6

2006-03-26 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Sun, 26 Mar 2006 22:39:02 +1100 > The error handling in ipcomp6_tunnel_create is broken in two ways: > > 1) If we fail to allocate an SPI (this should never happen in practice > since there are plenty of 32-bit SPI values for us to use), we will > still

[IPSEC]: Fix tunnel error handling in ipcomp6

2006-03-26 Thread Herbert Xu
Hi Dave: Just when I think I've almost got the ipip/xfrm stuff finished I get caught by yet another bug :) I should have that stuff ready tomorrow though. The error handling in ipcomp6_tunnel_create is broken in two ways: 1) If we fail to allocate an SPI (this should never happen in practice si