[PATCH net] wireguard: device: provide sane limits for mtu setting
Jason A. Donenfeld
Jason at zx2c4.com
Fri Feb 14 10:11:34 CET 2020
On 2/14/20, Eric Dumazet <edumazet at google.com> wrote:
> If wireguard device mtu is set to zero, a divide by zero
> crash happens in calculate_skb_padding().
> This patch provides dev->min_mtu and dev->max_mtu bounds.
Thanks for the patch. However, I solved this slightly differently
yesterday afternoon already:
. I've got some additional testing of this to do this afternoon, and
then I'll submit it to the list.
More information about the WireGuard