lkml.org 
[lkml]   [2009]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 06/88] xfrm: spin_lock() should be spin_unlock() in xfrm_state.c
    2.6.28-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Chuck Ebbert <cebbert@redhat.com>

    [ Upstream commit 7d0b591c655ca0d72ebcbd242cf659a20a8995c5 ]

    spin_lock() should be spin_unlock() in xfrm_state_walk_done().

    caused by:
    commit 12a169e7d8f4b1c95252d8b04ed0f1033ed7cfe2
    "ipsec: Put dumpers on the dump list"

    Reported-by: Marc Milgram <mmilgram@redhat.com>
    Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

    ---
    net/xfrm/xfrm_state.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/net/xfrm/xfrm_state.c
    +++ b/net/xfrm/xfrm_state.c
    @@ -1601,7 +1601,7 @@ void xfrm_state_walk_done(struct xfrm_st

    spin_lock_bh(&xfrm_state_lock);
    list_del(&walk->all);
    - spin_lock_bh(&xfrm_state_lock);
    + spin_unlock_bh(&xfrm_state_lock);
    }
    EXPORT_SYMBOL(xfrm_state_walk_done);




    \
     
     \ /
      Last update: 2009-04-30 19:13    [W:0.023 / U:1.644 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site