1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel
Norbert Zulinski 66039eb901 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: a9f49e0060 ("iavf: Fix handling of dummy receive descriptors")
Signed-off-by: Norbert Zulinski <norbertx.zulinski@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-09-19 14:03:45 -07:00
..
e1000 net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
e1000e e1000e: convert .adjfreq to .adjfine 2022-07-28 10:57:06 -07:00
fm10k intel/fm10k:fix repeated words in comments 2022-06-30 10:56:01 -07:00
i40e i40e: Fix kernel crash during module removal 2022-09-02 11:15:36 -07:00
iavf iavf: Fix bad page state 2022-09-19 14:03:45 -07:00
ice ice: Fix crash by keep old cfg when update TCs more than queues 2022-09-08 13:22:11 -07:00
igb igb: Add lock to avoid data race 2022-08-18 11:03:26 -07:00
igbvf intel/igbvf:fix repeated words in comments 2022-06-30 11:04:14 -07:00
igc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-07-21 13:03:39 -07:00
ixgb net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
ixgbe ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter 2022-08-24 12:21:10 -07:00
ixgbevf intel/ixgbevf:fix repeated words in comments 2022-06-30 11:08:45 -07:00
e100.c intel: remove unused macros 2022-06-30 09:40:55 -07:00
Kconfig ice: support crosstimestamping on E822 devices if supported 2021-12-21 09:11:40 -08:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00