Changeset 6b99156 in mainline


Ignore:
Timestamp:
2012-11-05T14:08:08Z (11 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
205832b
Parents:
7cfe5c0
Message:

cht: Surrounded cht_remove_item in the CHT test with necessary rcu_read_lock()s.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/cht/cht1.c

    r7cfe5c0 r6b99156  
    383383                        if (work->elem[elem_idx].inserted) {
    384384                                if (item_op) {
     385                                        rcu_read_lock();
    385386                                        cht_remove_item(work->h, &work->elem[elem_idx].link);
     387                                        rcu_read_unlock();
    386388                                } else {
    387389                                        void *key = (void*)work->elem[elem_idx].key;
Note: See TracChangeset for help on using the changeset viewer.