OSDN Git Service

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)
commitd6bb2d1e86903d3fbf895752ac2c0c2465534579
treedb314fb3951c154324e50580429aa2765b4fc134
parent2776d2320ac186988273a9b312073317b6c50c76
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