commit | ccbdc596f4f6f6795956d46bb4b5f58c7e4bc3c8 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Jan 10 12:25:57 2018 +0000 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Jan 10 13:49:35 2018 +0100 |
tree | 15f3d4fd452961906eb5cd078c7ea4b557926a89 | |
parent | c4f7730be580f8c39decc058246a83ddf7d7b3cb [diff] |
nfp: bpf: don't allow changing MTU above BPF offload limit when active When BPF offload is active we need may need to restrict the MTU changes more than just to the limitation of the kernel XDP datapath. Allow the BPF code to veto a MTU change. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>