net: add rx_nohandler stat counter
authorJarod Wilson <jarod@redhat.com>
Mon, 1 Feb 2016 23:51:05 +0000 (18:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Feb 2016 07:59:51 +0000 (02:59 -0500)
commit6e7333d315a768170a59ac771297ee0551bdddbf
tree5a8b48e8443dfbe7cc4fd227f4f1a3fb7e504e71
parent9256645af09807bc52fa8b2e66ecd28ab25318c4
net: add rx_nohandler stat counter

This adds an rx_nohandler stat counter, along with a sysfs statistics
node, and copies the counter out via netlink as well.

CC: "David S. Miller" <davem@davemloft.net>
CC: Eric Dumazet <edumazet@google.com>
CC: Jiri Pirko <jiri@mellanox.com>
CC: Daniel Borkmann <daniel@iogearbox.net>
CC: Tom Herbert <tom@herbertland.com>
CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <gospo@cumulusnetworks.com>
CC: netdev@vger.kernel.org
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/uapi/linux/if_link.h
net/core/dev.c
net/core/net-sysfs.c
net/core/rtnetlink.c