Thread (14 messages) 14 messages, 4 authors, 2016-09-22

Re: UBSAN reports issue in ip_idents_reserve

flat view

From: Eric Dumazet <hidden>
Date: 2016-09-20 14:24:13

On Tue, 2016-09-20 at 07:18 -0700, Eric Dumazet wrote:
quoted hunk ↗ jump to hunk
+	 */
+	if (unlikely(atomic_cmpxchg(p_id, old, new) != old))
+		new = prandom_u32();
+	return new;
Looks like we should return new - segs;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help