diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2019-06-24 16:01:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-26 13:26:08 -0700 |
commit | 9b1c1ef13b35fa35051b635ca9fbda39fe6bbc70 (patch) | |
tree | c0c49d78a531b98f9d9c7e593591cfb46e87a493 /net/netfilter | |
parent | 22e72b5e049b95789b34a4cef316c791e7c2fed5 (diff) | |
download | lwn-9b1c1ef13b35fa35051b635ca9fbda39fe6bbc70.tar.gz lwn-9b1c1ef13b35fa35051b635ca9fbda39fe6bbc70.zip |
ipv6: constify rt6_nexthop()
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>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_flow_table_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_flow_table_ip.c b/net/netfilter/nf_flow_table_ip.c index 241317473114..cdfc33517e85 100644 --- a/net/netfilter/nf_flow_table_ip.c +++ b/net/netfilter/nf_flow_table_ip.c @@ -439,9 +439,9 @@ nf_flow_offload_ipv6_hook(void *priv, struct sk_buff *skb, struct nf_flowtable *flow_table = priv; struct flow_offload_tuple tuple = {}; enum flow_offload_tuple_dir dir; + const struct in6_addr *nexthop; struct flow_offload *flow; struct net_device *outdev; - struct in6_addr *nexthop; struct ipv6hdr *ip6h; struct rt6_info *rt; |