Re: [PATCH net-next v5 20/20] net: WireGuard secure network tunnel

From: Jason A. Donenfeld
Date: Tue Sep 18 2018 - 22:04:18 EST

Hi Andrew,

On Wed, Sep 19, 2018 at 1:34 AM Andrew Lunn <andrew@xxxxxxx> wrote:
> I see this BUG_ON() is still here. It really needs to be removed. It
> does not look like you need to crash the kernel here. Can you add in a
> test of len >= 128, do a WARN and then return. I think you then leak
> some memory, but i would much prefer that to a crashed machine.

Sure, I'll change it to that.