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

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/drivers/infiniband/ulp/ipoib/ipoib_main.c

    r25370 r31869  
    237237
    238238                ipoib_flush_paths(dev);
    239                 rtnl_lock();
    240                 return 0;
     239                return (!rtnl_trylock()) ? -EBUSY : 0;
    241240        }
    242241
     
    247246                rtnl_unlock();
    248247                ipoib_flush_paths(dev);
    249                 rtnl_lock();
    250                 return 0;
     248                return (!rtnl_trylock()) ? -EBUSY : 0;
    251249        }
    252250
Note: See TracChangeset for help on using the changeset viewer.