summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2016-07-21 16:42:22 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-07-21 17:08:16 +0200
commit4434db4bed874548cc5f3a28578d7b4758502d68 (patch)
tree326c09a4cb0046603e3e741162cb8e8e9d59e1da /proc.c
parente864a07a07f3aeea2444b00ffc343523fecbab31 (diff)
netsniff-ng: Increment pkts_seen after packet type check
Currently in receive_to_xmit() pkts_seen is incremented before the packet type check, but failing the latter will cause the packet to be ignored, pretty much as if it failed to pass the filter. This change moves the accunting after the check, as is currently done in both walk_t3_block() and recv_only_or_dump(). Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proc.c')
0 files changed, 0 insertions, 0 deletions
. That leaves us with catching the kernel attempts at executing user pages. We can catch that earlier, even before we do find_vma. It is never valid on powerpc for the kernel to take an exec fault to begin with. So fold that test with the existing test for the kernel faulting on kernel addresses to bail out early. Fixes: 1d18ad026844 ("powerpc/mm: Detect instruction fetch denied and report") Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'sound/soc/codecs/rt5514-spi.h')