diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-04-09 08:52:38 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-12 09:05:54 -0700 |
| commit | 6dd82499fa6c468237801541589eb83023d9fd46 (patch) | |
| tree | 27146319a8ee3c7a2124fe91fe783381301a3437 /include/net | |
| parent | 441ec8b5bdcc77f084b63800fd39404d9fc7c9f5 (diff) | |
| download | lwn-6dd82499fa6c468237801541589eb83023d9fd46.tar.gz lwn-6dd82499fa6c468237801541589eb83023d9fd46.zip | |
ipvlan: avoid spinlock contention in ipvlan_multicast_enqueue()
Under high stress, we spend a lot of time cloning skbs,
then acquiring a spinlock, then freeing the clone because
the queue is full.
Add a shortcut to avoid these costs under pressure, as we did
in macvlan with commit 0d5dc1d7aad1 ("macvlan: avoid spinlock
contention in macvlan_broadcast_enqueue()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260409085238.1122947-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
