diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2008-11-02 16:14:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-02 23:52:46 -0800 |
commit | 0856f93958c488f0cc656be53c26dfd20663bdb3 (patch) | |
tree | bba86ff48a9eef920fafde53127f7a3f5fc67bd1 /net/ipv6/ip6_output.c | |
parent | f26ba1751145edbf52b2c89a40e389f2fbdfc1af (diff) | |
download | kernel-crypto-0856f93958c488f0cc656be53c26dfd20663bdb3.tar.gz kernel-crypto-0856f93958c488f0cc656be53c26dfd20663bdb3.tar.xz kernel-crypto-0856f93958c488f0cc656be53c26dfd20663bdb3.zip |
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 <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions