Commit 2ff20db5 authored by Ning Cai's avatar Ning Cai Committed by Shrirang Bagul
Browse files

net: emac: Add check to avoid invalid queue access

BugLink: https://bugs.launchpad.net/bugs/1952845



When program avb/dcb algorithm from ioctl request,
DWC_ETH_QOS driver does not block invalid queue number from userspace.
Add checking and block the invalid qinx input to fix the issue.

Change-Id: I7b87b1f7bc4911f8d32625bd2a0f93d568e3d73f
Signed-off-by: default avatarNing Cai <ncai@codeaurora.org>
(cherry picked from commit b48cdc1354929396bdc24194f94349d41e685f76)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent b6973099
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment