diff options
| author | Magnus Karlsson <[email protected]> | 2020-05-04 15:33:52 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-05-04 22:56:26 +0200 |
| commit | 07bf2d97d1f37e7ac8d7be2d84ff108d43556a1d (patch) | |
| tree | 048c1cb760f8dd7ec426dc66a2c5ee6649f03bd1 /include | |
| parent | e4e5aefc113510c03d34e182ab30bc0cc196675c (diff) | |
xsk: Remove unnecessary member in xdp_umem
Remove the unnecessary member of address in struct xdp_umem as it is
only used during the umem registration. No need to carry this around
as it is not used during run-time nor when unregistering the umem.
Signed-off-by: Magnus Karlsson <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jonathan Lemon <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/xdp_sock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/xdp_sock.h b/include/net/xdp_sock.h index b72f1f4c3b15..67191ccaab85 100644 --- a/include/net/xdp_sock.h +++ b/include/net/xdp_sock.h @@ -50,7 +50,6 @@ struct xdp_umem { u32 headroom; u32 chunk_size_nohr; struct user_struct *user; - unsigned long address; refcount_t users; struct work_struct work; struct page **pgs; |