Subject: Re: [PATCH v3 2/2] net: thunderx: don't allow jumbo frames with XDP

From: Jesper Dangaard Brouer <[email-masked]>
Date: Thu, 11 Apr 2019 15:05:04 +0200

On Thu, 11 Apr 2019 12:26:33 +0200
Matteo Croce <[email-masked]> wrote:

> The thunderx driver forbids to load an eBPF program if the MTU is too high,
> but this can be circumvented by loading the eBPF, then raising the MTU.
> 
> Fix this by limiting the MTU if an eBPF program is already loaded.
> 
> Fixes: 05c773f52b96e ("net: thunderx: Add basic XDP support")
> Signed-off-by: Matteo Croce <[email-masked]>

LGTM

Acked-by: Jesper Dangaard Brouer <[email-masked]>

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer