You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ipv6: move ip6_dst_hoplimit() into core kernel
It will be used by vxlan, and may not be inlined. Cc: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ae5dbf1ad8
commit
3ce9b35ff6
@@ -112,8 +112,6 @@ extern struct rt6_info *addrconf_dst_alloc(struct inet6_dev *idev,
|
||||
const struct in6_addr *addr,
|
||||
bool anycast);
|
||||
|
||||
extern int ip6_dst_hoplimit(struct dst_entry *dst);
|
||||
|
||||
/*
|
||||
* support functions for ND
|
||||
*
|
||||
|
||||
@@ -658,6 +658,8 @@ static inline int ipv6_addr_diff(const struct in6_addr *a1, const struct in6_add
|
||||
|
||||
extern void ipv6_select_ident(struct frag_hdr *fhdr, struct rt6_info *rt);
|
||||
|
||||
extern int ip6_dst_hoplimit(struct dst_entry *dst);
|
||||
|
||||
/*
|
||||
* Header manipulation
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user