David Miller said the following on 2007-11-16 12:04:
> From: Wang Chen <[EMAIL PROTECTED]>
> Date: Fri, 16 Nov 2007 11:18:16 +0800
> 
> That's right, InDataGrams will increase even if we haven't
> verified the checksum yet.
> 
> When the user does a recvmsg() or a poll() on the socket,
> we will notice the bad checksum then and increment InErrors.
> We could in this case correct the InDatagrams counter by
> decrementing it in this case.
> 

Yes, it's a good idea.
I will make the patch and test it.
Thank dave for the suggestion.

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to