aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorNorbert Zulinski <[email protected]>2022-09-14 15:39:13 +0200
committerTony Nguyen <[email protected]>2022-09-19 14:03:45 -0700
commit66039eb9015eee4f7ff0c99b83c65c7ecb3c8190 (patch)
tree3641e4d86c17d2606ab0dbc4bda79ea19c4247d1 /lib/netdev-notifier-error-inject.c
parent96628951869c0dedf0377adca01c8675172d8639 (diff)
iavf: Fix bad page state
Fix bad page state, free inappropriate page in handling dummy descriptor. iavf_build_skb now has to check not only if rx_buffer is NULL but also if size is zero, same thing in iavf_clean_rx_irq. Without this patch driver would free page that will be used by napi_build_skb. Fixes: a9f49e006030 ("iavf: Fix handling of dummy receive descriptors") Signed-off-by: Norbert Zulinski <[email protected]> Signed-off-by: Mateusz Palczewski <[email protected]> Tested-by: Konrad Jankowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions