Datagram sockets are the ones that drop data though (tcp will
deal with it via re-transmits).
I have not looked at his patch in detail, but I would welcome anything
that gets us closer to being able to account for every packet that enters
the NIC, or enters the kernel from user-space via send(to), etc...
David S. Miller wrote:
Your idea is totally useless for non-datagram sockets.
Only datagram sockets use the interfaces where you bump
the counters.
I don't like the patch, nor the idea behind it, at all.
--
Ben Greear [off-list ref] <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear