[Intel-wired-lan] [PATCH S17 11/17] ice: Fix issue when adding more than allowed VLANs

Bowers, AndrewX andrewx.bowers at intel.com
Fri Mar 8 00:34:44 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Thursday, February 28, 2019 3:26 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S17 11/17] ice: Fix issue when adding more
> than allowed VLANs
> 
> From: Akeem G Abodunrin <akeem.g.abodunrin at intel.com>
> 
> This patch fixes issue with non trusted VFs being able to add more than
> permitted number of VLANs by adding a check in ice_vc_process_vlan_msg.
> Also don't return an error in this case as the VF does not need to know that it
> is not trusted.
> 
> Also rework ice_vsi_kill_vlan to use the right types.
> 
> Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> cleaned
> up commit message]
> ---
>  drivers/net/ethernet/intel/ice/ice_lib.c         | 15 +++++++++------
>  drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 13 ++++++++++++-
>  2 files changed, 21 insertions(+), 7 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list