]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ipv6: constify rt6_nexthop()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 6 Sep 2019 09:54:00 +0000 (11:54 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Fri, 27 Sep 2019 14:55:12 +0000 (16:55 +0200)
commitfdfc428e0f85085dd888a5f4aab1a297d8541b5e
treed63ae536848fad61e8cb41ad142f515190cd3cb7
parentcae1ce616424743466d432ed54ebe8ff9f77492a
ipv6: constify rt6_nexthop()

BugLink: https://bugs.launchpad.net/bugs/1834465
There is no functional change in this patch, it only prepares the next one.

rt6_nexthop() will be used by ip6_dst_lookup_neigh(), which uses const
variables.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reported-by: kbuild test robot <lkp@intel.com>
Acked-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(backported from commit 9b1c1ef13b35fa35051b635ca9fbda39fe6bbc70)
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/vrf.c
include/net/ip6_route.h
net/bluetooth/6lowpan.c
net/ipv6/ip6_output.c