From: Sebastiano Di Paola Date: Fri, 30 Jan 2009 23:37:17 +0000 (+0000) Subject: net: packet socket packet_lookup_frame fix X-Git-Tag: v2.6.27.18~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ceec7ed4dfe4e62399fbf395a9c3f4cc54c3d88;p=pandora-kernel.git net: packet socket packet_lookup_frame fix [ Upstream commit f9e6934502e46c363100245f137ddf0f4b1cb574 ] packet_lookup_frames() fails to get user frame if current frame header status contains extra flags. This is due to the wrong assumption on the operators precedence during frame status tests. Fixed by forcing the right operators precedence order with explicit brackets. Signed-off-by: Paolo Abeni Signed-off-by: Sebastiano Di Paola Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed