ipv6: ip6_skb_dst_mtu() cleanups
authorEric Dumazet <edumazet@google.com>
Fri, 19 Nov 2021 02:23:55 +0000 (18:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 20 Nov 2021 04:09:55 +0000 (20:09 -0800)
commit8d22679dc89a6d9e1d41b2514902e3f7ef51547a
tree1977b52616447ab35399bc8cc18407cb35df6b79
parent520fbdf7fb19b7744e370d36d9244a446299ceb7
ipv6: ip6_skb_dst_mtu() cleanups

Use const attribute where we can, and cache skb_dst()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20211119022355.2985984-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/ip6_route.h