Re: [PATCH net-next 1/9] dcb: enforce minimum length on IEEE_APPS attribute

2017-05-21 Thread David Miller
From: Stephen Hemminger Date: Fri, 19 May 2017 09:55:48 -0700 > 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

[PATCH net-next 1/9] dcb: enforce minimum length on IEEE_APPS attribute

2017-05-19 Thread Stephen Hemminger
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: