3C509: rx_bytes should not be increased when alloc_skb failed
authorWang Chen <wangchen@cn.fujitsu.com>
Tue, 20 May 2008 09:13:52 +0000 (17:13 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 18:02:46 +0000 (14:02 -0400)
If alloc_skb failed, the recieved packet will be dropped. Do not increase
rx_bytes for dropped packet.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found