net: packet socket packet_lookup_frame fix
[ Upstream commit f9e69345 ] 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>
Loading
Please register or sign in to comment