[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161109173458.1f57d699@griffin>
Date: Wed, 9 Nov 2016 17:34:58 +0100
From: Jiri Benc <jbenc@...hat.com>
To: Pravin B Shelar <pshelar@....org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 3/7] vxlan: avoid checking socket multiple
times.
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.
Jiri
Powered by blists - more mailing lists