Thread (33 messages) 33 messages, 4 authors, 2013-09-28

Re: [PATCH net-next] net loopback: Set loopback_dev to NULL when freed

From: Eric Dumazet <hidden>
Date: 2013-09-17 00:50:53

On Mon, 2013-09-16 at 16:52 -0700, Eric W. Biederman wrote:
It has recently turned up that we have a number of long standing bugs
in the network stack cleanup code with use of the loopback device
after it has been freed that have not turned up because in most cases
the storage allocated to the loopback device is not reused, when those
accesses happen.

Set looback_dev to NULL to trigger oopses instead of silent data corrupt
when we hit this class of bug.

Signed-off-by: "Eric W. Biederman" <redacted>
---
Acked-by: Eric Dumazet <edumazet@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help