mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
caf586e5f2
In various situations, a device provides a packet to our stack and we
drop it before it enters protocol stack :
- softnet backlog full (accounted in /proc/net/softnet_stat)
- bad vlan tag (not accounted)
- unknown/unregistered protocol (not accounted)
We can handle a per-device counter of such dropped frames at core level,
and automatically adds it to the device provided stats (rx_dropped), so
that standard tools can be used (ifconfig, ip link, cat /proc/net/dev)
This is a generalization of commit
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vlan_core.c | ||
vlan_dev.c | ||
vlan_gvrp.c | ||
vlan_netlink.c | ||
vlan.c | ||
vlan.h | ||
vlanproc.c | ||
vlanproc.h |