[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47691B35.5090209@miyazawa.org>
Date: Wed, 19 Dec 2007 22:23:01 +0900
From: Kazunori MIAZAWA <kazunori@...azawa.org>
To: usagi-core@...ux-ipv6.org
CC: herbert@...dor.apana.org.au, miyazawa@...a.jp,
netdev@...r.kernel.org
Subject: Re: (usagi-core 34069) Re: [IPSEC]: Do xfrm_state_check_space before
encapsulation
David Miller wrote:
> From: Herbert Xu <herbert@...dor.apana.org.au>
> Date: Wed, 19 Dec 2007 14:12:10 +0800
>
>> [IPSEC]: Do xfrm_state_check_space before encapsulation
>>
>> While merging the IPsec output path I moved the encapsulation output
>> operation to the top of the loop so that it sits outside of the locked
>> section. Unfortunately in doing so it now sits in front of the space
>> check as well which could be a fatal error.
>>
>> This patch rearranges the calls so that the space check happens as
>> the thing on the output path.
>>
>> This patch also fixes an incorrect goto should the encapsulation output
>> fail.
>>
>> Thanks to Kazunori MIYAZAWA for finding this bug.
>>
>> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
>
> Applied, thanks Herbert.
>
>
Thank you for your quick response :-)
--
Kazunori Miyazawa
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists