sta_info.c (f2ac7e301ae6397669ff3f79e691942a9b5d2f39) | sta_info.c (ea32f065bd3e3e09f0bcb3042f1664caf6b3e233) |
---|---|
1/* 2 * Copyright 2002-2005, Instant802 Networks, Inc. 3 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 4 * Copyright 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2015 Intel Deutschland GmbH 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 548 unchanged lines hidden (view full) --- 557 out_remove: 558 sta_info_hash_del(local, sta); 559 list_del_rcu(&sta->list); 560 local->num_sta--; 561 synchronize_net(); 562 __cleanup_single_sta(sta); 563 out_err: 564 mutex_unlock(&local->sta_mtx); | 1/* 2 * Copyright 2002-2005, Instant802 Networks, Inc. 3 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 4 * Copyright 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2015 Intel Deutschland GmbH 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 548 unchanged lines hidden (view full) --- 557 out_remove: 558 sta_info_hash_del(local, sta); 559 list_del_rcu(&sta->list); 560 local->num_sta--; 561 synchronize_net(); 562 __cleanup_single_sta(sta); 563 out_err: 564 mutex_unlock(&local->sta_mtx); |
565 kfree(sinfo); |
|
565 rcu_read_lock(); 566 return err; 567} 568 569int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU) 570{ 571 struct ieee80211_local *local = sta->local; 572 int err; --- 1579 unchanged lines hidden --- | 566 rcu_read_lock(); 567 return err; 568} 569 570int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU) 571{ 572 struct ieee80211_local *local = sta->local; 573 int err; --- 1579 unchanged lines hidden --- |