af_packet: make tpacket_rcv to not set status value before run_filter
authorAlexander Drozdov <al.drozdov@gmail.com>
Mon, 23 Mar 2015 06:11:12 +0000 (09:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 02:00:36 +0000 (22:00 -0400)
commit68c2e5de360411674d9821ee2b46f5d8ee965161
treee68cac5be8d3c5fb6e5b47c48e48bd9c8703e8de
parentc69736696cf3742b37d850289dc0d7ead177bb14
af_packet: make tpacket_rcv to not set status value before run_filter

It is just an optimization. We don't need the value of status variable
if the packet is filtered.

Signed-off-by: Alexander Drozdov <al.drozdov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c