forked from Minki/linux
hv_netvsc: Load and store the proper (NBL_HASH_INFO) per-packet info
Fix the typo.
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Fixes: 0ba35fe91c
("hv_netvsc: Copy packets sent by Hyper-V out of the receive buffer")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
0102eeedb7
commit
8dff9808e9
@ -465,7 +465,7 @@ void rsc_add_data(struct netvsc_channel *nvchan,
|
|||||||
}
|
}
|
||||||
nvchan->rsc.pktlen = len;
|
nvchan->rsc.pktlen = len;
|
||||||
if (hash_info != NULL) {
|
if (hash_info != NULL) {
|
||||||
nvchan->rsc.csum_info = *csum_info;
|
nvchan->rsc.hash_info = *hash_info;
|
||||||
nvchan->rsc.ppi_flags |= NVSC_RSC_HASH_INFO;
|
nvchan->rsc.ppi_flags |= NVSC_RSC_HASH_INFO;
|
||||||
} else {
|
} else {
|
||||||
nvchan->rsc.ppi_flags &= ~NVSC_RSC_HASH_INFO;
|
nvchan->rsc.ppi_flags &= ~NVSC_RSC_HASH_INFO;
|
||||||
|
Loading…
Reference in New Issue
Block a user