]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/sched: mqprio: refactor nlattr parsing to a separate function
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 4 Feb 2023 13:52:55 +0000 (15:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2023 10:06:43 +0000 (10:06 +0000)
commitfeb2cf3dcfb930aec2ca65c66d1365543d5ba943
treef5a1167afb187742bb0c0128d6f1a74dbe52730d
parent8437114593910e0ac7a333775a9477e69c25cf75
net/sched: mqprio: refactor nlattr parsing to a separate function

mqprio_init() is quite large and unwieldy to add more code to.
Split the netlink attribute parsing to a dedicated function.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_mqprio.c