commit | 24474f2709af6729b9b1da1c5e160ab62e25e3a4 | [log] [tgz] |
---|---|---|
author | Martyna Szapar <martyna.szapar@intel.com> | Mon Apr 15 14:43:07 2019 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Sat May 04 17:40:25 2019 -0700 |
tree | 2d143c94f0814d7346d73d9627ea0dece4e52185 | |
parent | 825f0a4eb7fa9106a64ca8a2e62c37cc9766fdb9 [diff] |
i40e: Fix of memory leak and integer truncation in i40e_virtchnl.c Fixed possible memory leak in i40e_vc_add_cloud_filter function: cfilter is being allocated and in some error conditions the function returns without freeing the memory. Fix of integer truncation from u16 (type of queue_id value) to u8 when calling i40e_vc_isvalid_queue_id function. Signed-off-by: Martyna Szapar <martyna.szapar@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>