[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071113.213948.164713702.davem@davemloft.net>
Date: Tue, 13 Nov 2007 21:39:48 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 13/24] [IPSEC]: Move x->outer_mode->output out of
locked section
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Wed, 07 Nov 2007 22:08:29 +0800
> [IPSEC]: Move x->outer_mode->output out of locked section
>
> RO mode is the only one that requires a locked output function. So it's
> easier to move the lock into that function rather than requiring everyone
> else to run under the lock.
>
> In particular, this allows us to move the size check into the output
> function without causing a potential dead-lock should the ICMP error
> somehow hit the same SA on transmission.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied to net-2.6.25
-
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