[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 11 Nov 2017 13:44:34 +0100
From: Vincent Bernat <vincent@...nat.im>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>, davem@...emloft.net,
Cong Wang <xiyou.wangcong@...il.com>
Subject: Re: [PATCH net] vxlan: fix the issue that neigh proxy blocks all icmpv6 packets
❦ 11 novembre 2017 19:58 +0800, Xin Long <lucien.xin@...il.com> :
> Commit f1fb08f6337c ("vxlan: fix ND proxy when skb doesn't have transport
> header offset") removed icmp6_code and icmp6_type check before calling
> neigh_reduce when doing neigh proxy.
>
> It means all icmpv6 packets would be blocked by this, not only ns packet.
> In Jianlin's env, even ping6 couldn't work through it.
>
> This patch is to bring the icmp6_code and icmp6_type check back and also
> removed the same check from neigh_reduce().
I am very sorry for not having spotted this bug earlier. I have tested
your fix and I can confirm it works as expected.
> Fixes: f1fb08f6337c ("vxlan: fix ND proxy when skb doesn't have transport header offset")
> Reported-by: Jianlin Shi <jishi@...hat.com>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Reviewed-by: Vincent Bernat <vincent@...nat.im>
--
Don't just echo the code with comments - make every comment count.
- The Elements of Programming Style (Kernighan & Plauger)
Powered by blists - more mailing lists