Re: [PATCH] ipv4: fix a race in ip4_datagram_release_cb()
From: dormando <hidden>
Date: 2014-06-30 08:23:46
On Sun, 29 Jun 2014, Eric Dumazet wrote:
On Sat, 2014-06-28 at 17:25 -0700, dormando wrote:quoted
On Tue, 10 Jun 2014, Eric Dumazet wrote:quoted
On Tue, 2014-06-10 at 18:12 -0700, Eric Dumazet wrote:quoted
For the curious, another problem is in ipv4_sk_update_pmtu() This can be called on UDP sockets, but from softirq context. We cannot use sk_dst_lock because this lock is not softirq safe. I guess we should use xchg() for sk_dst_set() and sk_dst_reset()This would be something like this untested patch :I see this didn't get queued for stable, should it be dropped due to the later patch? (which did get queued for stable).I have this patch in my queue. I have to submit it officially before it can be merged... David seems quite busy these days anyway.
Heh. You folks have quite insane amounts of output. I'm now testing a kernel which has the one upstreamed patch + the two not yet in -stable, under 3.10.45. A kernel with ~60% of those patches has been running for 17.5 days so far. Much longer than it normally runs. So, looking pretty decent, still. Thanks for your patience for all of my dumb questions. I'll probably only pipe up again on this issue if I see another crash.