From: Patrick McHardy Date: Fri, 18 Apr 2008 06:19:55 +0000 (-0700) Subject: [PKT_SCHED]: Fix datalen check in tcf_simp_init(). X-Git-Tag: v2.6.26-rc1~1138^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ba2d32170679eb9b7c251ac3d9687916a41c18;p=pandora-kernel.git [PKT_SCHED]: Fix datalen check in tcf_simp_init(). datalen is unsigned so it can never be less than zero, but that's ok because the attribute passed to nla_len() has been validated and therefore a negative return value is impossible. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed