Re: [PATCH] ipv4: fix a race in ip4_datagram_release_cb()
From: dormando <hidden>
Date: 2014-06-29 00:25:40
From: dormando <hidden>
Date: 2014-06-29 00:25:40
On Tue, 10 Jun 2014, Eric Dumazet wrote:
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).