commit | cb75994ec311b2cd50e5205efdcc0696abd6675d | [log] [tgz] |
---|---|---|
author | Wang Chen <wangchen@cn.fujitsu.com> | Mon Dec 03 22:33:28 2007 +1100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 14:55:47 2008 -0800 |
tree | eb0fbb65bfe1b896a55ce8b987d6f4f3f4357e98 | |
parent | 6859d49475d4f32abe640372117e4b687906e6b6 [diff] |
[UDP]: Defer InDataGrams increment until recvmsg() does checksum Thanks dave, herbert, gerrit, andi and other people for your discussion about this problem. UdpInDatagrams can be confusing because it counts packets that might be dropped later. Move UdpInDatagrams into recvmsg() as allowed by the RFC. Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>