]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[netdevice] Report network-layer errors via network device statistics
authorMichael Brown <mcb30@ipxe.org>
Wed, 15 Sep 2010 03:56:28 +0000 (04:56 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 15 Sep 2010 04:08:16 +0000 (05:08 +0100)
commit85a3169967350fb92548a3e50ec7c533b27f407b
tree62e90d1445d8d14dec5f189c1ad438b2036af207
parentdace106f8286ff5484296021c5c687dbba68fefc
[netdevice] Report network-layer errors via network device statistics

Errors generated by the network layer in response to received packets
are liable to be lost, since nothing systematically records these
errors and often the packets do not propagate far enough through the
stack to impact upon user-visible processes.

Improve this situation by recording network-layer errors in the
network device statistics.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/netdevice.c