From: Wei Yongjun Date: Sun, 2 Nov 2008 16:14:27 +0000 (+0000) Subject: udp: Fix the SNMP counter of UDP_MIB_INERRORS X-Git-Tag: v2.6.28-rc4~86^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0856f93958c488f0cc656be53c26dfd20663bdb3;p=pandora-kernel.git udp: Fix the SNMP counter of UDP_MIB_INERRORS UDP packets received in udpv6_recvmsg() are not only IPv6 UDP packets, but also have IPv4 UDP packets, so when do the counter of UDP_MIB_INERRORS in udpv6_recvmsg(), we should check whether the packet is a IPv6 UDP packet or a IPv4 UDP packet. Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- Reading git-diff-tree failed