Re: [PATCH net-next] modules: allow modprobe load regular elf binaries
From: Linus Torvalds
Date: Fri Mar 09 2018 - 14:12:25 EST
On Fri, Mar 9, 2018 at 10:57 AM, David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> Once the helper UMH is invoked, it runs asynchronously taking eBPF
> translation requests.
How?
Really. See my comment about mutual exclusion. The current patch is
*broken* because it doesn't handle it. Really.
Think of it this way - you may have now started *five* of those things
concurrently by mistake.
The actual module loading case never does that, because the actual
module loading case has per-module serialization that got
short-circuited.
How are you going to handle five processes doing the same setup concurrently?
Linus