xsk: relax UMEM headroom alignment
authorBjörn Töpel <bjorn.topel@intel.com>
Wed, 18 Sep 2019 07:57:39 +0000 (09:57 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 19 Sep 2019 12:23:41 +0000 (14:23 +0200)
commit733ef7f056a5e23b66e8e7bb3508ca882db388f0
tree1ba4a5c5ffc42b18a32d43ed6220476ed2e48c23
parenta0791f0df7d212c245761538b17a9ea93607b667
xsk: relax UMEM headroom alignment

This patch removes the 64B alignment of the UMEM headroom. There is
really no reason for it, and having a headroom less than 64B should be
valid.

Fixes: c0c77d8fb787 ("xsk: add user memory registration support sockopt")
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/xdp/xdp_umem.c