xdp: xdp_umem: fix umem pages mapping for 32bits systems
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Thu, 8 Aug 2019 09:38:03 +0000 (12:38 +0300)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 9 Aug 2019 16:02:19 +0000 (18:02 +0200)
commitd9973cec9d578b381235bb872a2d378c69c54915
tree312f4730e73ac572f7884ae5729b6fc7d934308d
parentb707659213d3c70f2c704ec950df6263b4bffe84
xdp: xdp_umem: fix umem pages mapping for 32bits systems

Use kmap instead of page_address as it's not always in low memory.

Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/xdp/xdp_umem.c