commit | defcffeb517b3965e64f4e5531db3b452dccbfc5 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Tue Aug 18 19:00:27 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Aug 19 14:10:38 2020 -0700 |
tree | 4f8ce3f51a11609b12481998eb5bef4085a071ac | |
parent | 596b5ef458f903d4362fb3c69967b6d8a23334bd [diff] |
net-veth: Add type safety to veth_xdp_to_ptr() and veth_ptr_to_xdp() This reduces likelihood of incorrect use. Test: builds Signed-off-by: Maciej Żenczykowski <maze@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200819020027.4072288-1-zenczykowski@gmail.com