Home
last modified time | relevance | path

Searched hist:e05e90702b2638a39b5ae9d22740f3a1607c54a0 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dloopback.cdiff e05e90702b2638a39b5ae9d22740f3a1607c54a0 Mon Sep 16 18:52:41 CDT 2013 Eric W. Biederman <ebiederm@xmission.com> net loopback: Set loopback_dev to NULL when freed

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" <ebiederm@xmission.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>