commit | 332b4fc88698dd0429924a61e09d1734940d80a0 | [log] [tgz] |
---|---|---|
author | stephen hemminger <stephen@networkplumber.org> | Fri May 19 09:55:48 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 21 13:42:33 2017 -0400 |
tree | e29c977e352c95359ad319e168e5853e9adc2455 | |
parent | dae37055f475a369f7433360e246afbdccd22ff6 [diff] |
dcb: enforce minimum length on IEEE_APPS attribute Found by reviewing the warning about unused policy table. The code implies that it meant to check for size, but since it unrolled the loop for attribute validation that is never used. Instead do explicit check for attribute. Compile tested only. Needs review by original author. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>