Commit 9176e18
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 a88c1b2 commit 9176e18
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3665 | 3665 | | |
3666 | 3666 | | |
3667 | 3667 | | |
| 3668 | + | |
| 3669 | + | |
3668 | 3670 | | |
3669 | 3671 | | |
3670 | 3672 | | |
| |||
3704 | 3706 | | |
3705 | 3707 | | |
3706 | 3708 | | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
3707 | 3717 | | |
3708 | 3718 | | |
3709 | 3719 | | |
| |||
0 commit comments