]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
geneve: constify geneve_hlen()
authorPaolo Abeni <pabeni@redhat.com>
Wed, 21 Jan 2026 16:11:31 +0000 (17:11 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 19:31:14 +0000 (11:31 -0800)
commit759b8d3cef7bfc0a69a11f260eb136bba1821ab4
tree5ce684da3fd5c22ca3b90f0b91974b01a51640ce
parentba1b8c97b9a0414432382a11f144a8597f6f597e
geneve: constify geneve_hlen()

Such helper does not modify the argument; constifying it will additionally
simplify later patches.

Additionally move the definition earlier, still for later's patchesi sake.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/ea9e279b9544e8644194508dd9a4320ee455fa95.1769011015.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/geneve.c