> diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c > index 5476ad9..a7fad0d 100644 > --- a/net/mac80211/mesh.c > +++ b/net/mac80211/mesh.c > @@ -1051,7 +1051,8 @@ int ieee80211_mesh_finish_csa(struct ieee80211_sub_if_data *sdata) > /* Remove the CSA and MCSP elements from the beacon */ > tmp_csa_settings = rcu_dereference(ifmsh->csa); > rcu_assign_pointer(ifmsh->csa, NULL); > - kfree_rcu(tmp_csa_settings, rcu_head); > + if (tmp_csa_settings) > + kfree_rcu(tmp_csa_settings, rcu_head); Yes, this solves the problem of kernel oops. ---- Chun-Yeow -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html