net: also make sch_handle_egress() drop monitor ready
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 15 May 2016 21:28:29 +0000 (23:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 18:02:44 +0000 (14:02 -0400)
commit7e2c3aea4398d079745b9faa2c17b6cbd010f221
treeb92e30c372e9c7d19985fce38995ea6115e8bb16
parent15db6e0dc73ebdbf42c35f2f64907a5f4e154be1
net: also make sch_handle_egress() drop monitor ready

Follow-up for 8a3a4c6e7b34 ("net: make sch_handle_ingress() drop
monitor ready") to also make the egress side drop monitor ready.

Also here only TC_ACT_SHOT is a clear indication that something
went wrong. Hence don't provide false positives to drop monitors
such as 'perf record -e skb:kfree_skb ...'.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c