From: Stephen Suryaputra <[email protected]> Date: Wed, 24 Apr 2019 14:54:44 -0400
> @@ -3772,23 +3772,33 @@ int ipv6_route_ioctl(struct net *net, unsigned int
> cmd, void __user *arg)
>
> static int ip6_pkt_drop(struct sk_buff *skb, u8 code, int
> ipstats_mib_noroutes)
> {
> - int type;
> struct dst_entry *dst = skb_dst(skb);
> + struct inet6_dev *idev = ip6_dst_idev(dst);
> + struct net *net = dev_net(dst->dev);
> + int type;
Please reverse-christmas tree here.
Thank you.
