commit | ad46061fca87c0ab6670af3a44e03237f99d7a1f | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Jan 17 19:13:25 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jan 18 22:54:25 2018 +0100 |
tree | 8c88290504958afe2d28d7f965e3351cfccf0691 | |
parent | 0c91c4239d23d44a5cb95f51e9d4b71d88793d75 [diff] |
bpf: arraymap: move checks out of alloc function Use the new callback to perform allocation checks for array maps. The fd maps don't need a special allocation callback, they only need a special check callback. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>