]> git.baikalelectronics.ru Git - kernel.git/commit
inet: constify inet_sdif() argument
authorEric Dumazet <edumazet@google.com>
Mon, 9 Nov 2020 23:13:48 +0000 (15:13 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Nov 2020 01:56:54 +0000 (17:56 -0800)
commit0bd90fc32cccba6eb84e05ee166c9554aee957a5
treedb314fb3951c154324e50580429aa2765b4fc134
parent857b402bb5b26fc457215fa26a593ceb911e037f
inet: constify inet_sdif() argument

inet_sdif() does not modify the skb.

This will permit propagating the const qualifier in
udp{4|6}_lib_lookup_skb() functions.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/ip.h