
<     struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb));
---
>     struct dst_entry *dst = skb_dst(skb);
>     struct inet6_dev *idev = dst ? ip6_dst_idev(dst) : NULL;
