forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 093a6c67005148ae32a5c9e4553491b9f5c2457b
kernel/drivers/net/xen-netback/common.h
....@@ -166,7 +166,7 @@
166166 struct pending_tx_info pending_tx_info[MAX_PENDING_REQS];
167167 grant_handle_t grant_tx_handle[MAX_PENDING_REQS];
168168
169
- struct gnttab_copy tx_copy_ops[MAX_PENDING_REQS];
169
+ struct gnttab_copy tx_copy_ops[2 * MAX_PENDING_REQS];
170170 struct gnttab_map_grant_ref tx_map_ops[MAX_PENDING_REQS];
171171 struct gnttab_unmap_grant_ref tx_unmap_ops[MAX_PENDING_REQS];
172172 /* passed to gnttab_[un]map_refs with pages under (un)mapping */