Re: [IPSEC]: Kill nested read lock by deleting xfrm_init_tempsel
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-04-22 03:13:31
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-04-22 03:13:31
On Fri, 22 Apr 2005 01:53:43 +0200 Patrick McHardy [off-list ref] wrote:
Yes, tmpl->id.daddr might be 0, in which case the destination of the packet or previous tunnel mode transforms is used. daddr always contains the correct adress, so we should use it to check for duplicate SPIs. But as Herbert noted, we shouldn't perform the check if tmpl->id.spi == 0, so here is a new patch. Signed-off-by: Patrick McHardy <redacted>
Ok, that makes sense. Patch applied, thanks guys.