Commit e490d8c
i40e: add max boundary check for VF filters
commit cb79fa7 upstream.
There is no check for max filters that VF can request. Add it.
Fixes: e284fc2 ("i40e: Add and delete cloud filter")
Cc: stable@vger.kernel.org
Signed-off-by: Lukasz Czapnik <lukasz.czapnik@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 2846577 commit e490d8c
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3710 | 3710 | | |
3711 | 3711 | | |
3712 | 3712 | | |
| 3713 | + | |
| 3714 | + | |
3713 | 3715 | | |
3714 | 3716 | | |
3715 | 3717 | | |
| |||
3749 | 3751 | | |
3750 | 3752 | | |
3751 | 3753 | | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
3752 | 3762 | | |
3753 | 3763 | | |
3754 | 3764 | | |
| |||
0 commit comments