commit | 943c57b97cde2ce0806e59b553c650c9889d8b69 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Thu Oct 12 10:34:14 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 14 11:13:28 2017 -0700 |
tree | b86c86ffbef73ebbcbbfb9e4d8d62df32b7ccb0e | |
parent | 0f6cf4ddf63fa4d645c36d96ed1092fe7a0a8d0f [diff] |
nfp: bpf: fix context accesses Sizes of fields in struct xdp_md/xdp_buff and some in sk_buff depend on target architecture. Take that into account and use struct xdp_buff, not struct xdp_md. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>