On Wed, Nov 9, 2016 at 8:34 AM, Jiri Benc <jb...@redhat.com> wrote: > On Sat, 5 Nov 2016 11:45:53 -0700, Pravin B Shelar wrote: >> @@ -2070,11 +2072,9 @@ static void vxlan_xmit_one(struct sk_buff *skb, >> struct net_device *dev, >> struct dst_entry *ndst; >> u32 rt6i_flags; >> >> - if (!sock6) >> - goto drop; >> sk = sock6->sock->sk; > > I take back that the rest of the patch looks good. This will panic if > an IPv6 packet is routed (through encap route) to an IPv4-only > interface. >
Actually this is fixed in later patch. But I will fix this patch too. Thanks for review.