Ignore:
Timestamp:
Apr 16, 2017, 3:07:01 PM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/net/xfrm/xfrm_policy.c

    r29101 r31869  
    30053005        int rv;
    30063006
     3007        /* Initialize the per-net locks here */
     3008        spin_lock_init(&net->xfrm.xfrm_state_lock);
     3009        rwlock_init(&net->xfrm.xfrm_policy_lock);
     3010        mutex_init(&net->xfrm.xfrm_cfg_mutex);
     3011
    30073012        rv = xfrm_statistics_init(net);
    30083013        if (rv < 0)
     
    30203025        if (rv < 0)
    30213026                goto out;
    3022 
    3023         /* Initialize the per-net locks here */
    3024         spin_lock_init(&net->xfrm.xfrm_state_lock);
    3025         rwlock_init(&net->xfrm.xfrm_policy_lock);
    3026         mutex_init(&net->xfrm.xfrm_cfg_mutex);
    30273027
    30283028        return 0;
Note: See TracChangeset for help on using the changeset viewer.