aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2017-10-12 17:34:14 +0000
committerDavid S. Miller <[email protected]>2017-10-14 18:13:28 +0000
commit943c57b97cde2ce0806e59b553c650c9889d8b69 (patch)
treeb86c86ffbef73ebbcbbfb9e4d8d62df32b7ccb0e /drivers/net/dsa/dsa_loop.c
parentnfp: bpf: support BPF offload only on little endian (diff)
downloadkernel-943c57b97cde2ce0806e59b553c650c9889d8b69.tar.gz
kernel-943c57b97cde2ce0806e59b553c650c9889d8b69.zip
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions