mac802154: Rename kfree_rcu() to kvfree_rcu_mightsleep()
[linux-2.6-block.git] / net / mac802154 / scan.c
index 9b0933a185ebc9981ff8c64478742f7f6e9d8e9e..5c191bedd72c4440b4ddffdef8848c2011451e8b 100644 (file)
@@ -52,7 +52,7 @@ static int mac802154_scan_cleanup_locked(struct ieee802154_local *local,
        request = rcu_replace_pointer(local->scan_req, NULL, 1);
        if (!request)
                return 0;
-       kfree_rcu(request);
+       kvfree_rcu_mightsleep(request);
 
        /* Advertize first, while we know the devices cannot be removed */
        if (aborted)
@@ -403,7 +403,7 @@ int mac802154_stop_beacons_locked(struct ieee802154_local *local,
        request = rcu_replace_pointer(local->beacon_req, NULL, 1);
        if (!request)
                return 0;
-       kfree_rcu(request);
+       kvfree_rcu_mightsleep(request);
 
        nl802154_beaconing_done(wpan_dev);