projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xsk: make xsk_buff_pool responsible for clearing xdp_buff::flags
[platform/kernel/linux-rpi.git]
/
include
/
net
/
xdp_sock_drv.h
diff --git
a/include/net/xdp_sock_drv.h
b/include/net/xdp_sock_drv.h
index
1f6fc8c
..
7290eb7
100644
(file)
--- a/
include/net/xdp_sock_drv.h
+++ b/
include/net/xdp_sock_drv.h
@@
-152,6
+152,7
@@
static inline void xsk_buff_set_size(struct xdp_buff *xdp, u32 size)
xdp->data = xdp->data_hard_start + XDP_PACKET_HEADROOM;
xdp->data_meta = xdp->data;
xdp->data_end = xdp->data + size;
+ xdp->flags = 0;
}
static inline dma_addr_t xsk_buff_raw_get_dma(struct xsk_buff_pool *pool,