Commit 77a35be
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 f8c8e11 commit 77a35be
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3770 | 3770 | | |
3771 | 3771 | | |
3772 | 3772 | | |
| 3773 | + | |
| 3774 | + | |
3773 | 3775 | | |
3774 | 3776 | | |
3775 | 3777 | | |
| |||
3809 | 3811 | | |
3810 | 3812 | | |
3811 | 3813 | | |
| 3814 | + | |
| 3815 | + | |
| 3816 | + | |
| 3817 | + | |
| 3818 | + | |
| 3819 | + | |
| 3820 | + | |
| 3821 | + | |
3812 | 3822 | | |
3813 | 3823 | | |
3814 | 3824 | | |
| |||
0 commit comments