summaryrefslogtreecommitdiff
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorSebastiano Di Paola <sebastiano.dipaola@gmail.com>2009-01-30 23:37:17 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-17 09:46:22 -0800
commit7ceec7ed4dfe4e62399fbf395a9c3f4cc54c3d88 (patch)
treec8d8edb047e3df45f2dba2963162e3131080a808 /drivers/net/sky2.c
parentbb450c36212e670fdb0cf58fd453557c243f515f (diff)
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 <paolo.abeni@gmail.com> Signed-off-by: Sebastiano Di Paola <sebastiano.dipaola@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/sky2.c')
0 files changed, 0 insertions, 0 deletions