netdev
[Top] [All Lists]

Re: [RFC 2.6.10 4/22] xfrm: Try to offload inbound xfrm_states

To: David Dillow <dave@xxxxxxxxxxxxxx>
Subject: Re: [RFC 2.6.10 4/22] xfrm: Try to offload inbound xfrm_states
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Fri, 21 Jan 2005 14:56:08 -0800
Cc: netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dave@xxxxxxxxxxxxxx
In-reply-to: <20041230035000.13@xxxxxxxxxxxxxxxxxx>
References: <20041230035000.12@xxxxxxxxxxxxxxxxxx> <20041230035000.13@xxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 30 Dec 2004 03:48:35 -0500
David Dillow <dave@xxxxxxxxxxxxxx> wrote:

> # This is a BitKeeper generated diff -Nru style patch.
> #
> # ChangeSet
> #   2004/12/30 00:33:11-05:00 dave@xxxxxxxxxxxxxx 
> #   Plumb in offloading of inbound xfrm_states.
> #   
> #   Signed-off-by: David Dillow <dave@xxxxxxxxxxxxxx>

Hmmm, this seems to deadlock.  xfrm_state_add() is invoked
with the RTNL semaphore already acquired.  For example, via
xfrm_user.c:xfrm_add_sa()

<Prev in Thread] Current Thread [Next in Thread>