Thread (31 messages) read the whole thread 31 messages, 3 authors, 2011-08-29

Re: [PATCH 1/9] mac80211: Fix RCU pointer dereference in mesh_path_discard_frame()

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-08-25 02:08:17

On Wed, 24 Aug 2011 18:40:44 -0700, Thomas Pedersen wrote:
 		da = hdr->addr3;
 		ra = hdr->addr1;
+		rcu_read_lock();
 		mpath = mesh_path_lookup(da, sdata);
+		rcu_read_unlock();
 		if (mpath)
 			sn = ++mpath->sn;
 		mesh_path_error_tx(sdata->u.mesh.mshcfg.element_ttl, skb->data,
You've got to be kidding. Didn't I just explain RCU :)

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help