Re: [PATCH net-next 4/5] ipv6: Compute multipath hash for sent ICMP errors from offending packet
From: David Miller
Date: Thu Oct 27 2016 - 11:24:24 EST
From: Jakub Sitnicki <jkbs@xxxxxxxxxx>
Date: Mon, 24 Oct 2016 11:28:51 +0200
> diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h
> index 57086e9..6282e03 100644
> --- a/include/linux/icmpv6.h
> +++ b/include/linux/icmpv6.h
> @@ -45,4 +45,6 @@ extern void icmpv6_flow_init(struct sock *sk,
> const struct in6_addr *saddr,
> const struct in6_addr *daddr,
> int oif);
> +struct ipv6hdr;
> +extern u32 icmpv6_multipath_hash(const struct ipv6hdr *iph);
> #endif
We do not use "extern" in external function declarations in header file any more.