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

RE: UBSAN reports issue in ip_idents_reserve

flat view

From: David Laight <hidden>
Date: 2016-09-20 13:38:54

From: Eric Dumazet
Sent: 20 September 2016 14:29
...
quoted
[   47.565420] -2117905507 + -695755206 cannot be represented in type 'int'
...
I do not think we have to worry here.

These is best effort, and unfortunately atomic_t are int.
Not until we compile on a cpu where int arithmetic doesn't wrap.

While I expect that various other parts of the kernel (and userspace)
wouldn't like such cpu, they do exist.

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