]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipvlan: ipvlan_handle_mode_l2() refactoring
authorEric Dumazet <edumazet@google.com>
Thu, 9 Apr 2026 08:52:37 +0000 (08:52 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 16:05:54 +0000 (09:05 -0700)
commit441ec8b5bdcc77f084b63800fd39404d9fc7c9f5
tree0c733313d7f5690c940e7c4ff6f4dc4199881602
parentb258cba1e05df758e4e99a0e374da3e044618475
ipvlan: ipvlan_handle_mode_l2() refactoring

Reduce indentation level, and add a likely() clause
as we expect to process more unicast packets than multicast ones.

No functional change, this eases the following patch review.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260409085238.1122947-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipvlan/ipvlan_core.c