linux-stable-rt/net
Wei Dong 0668b47205 [IPV4]: Fix SNMPv2 "ipFragFails" counter error
When I tested Linux kernel 2.6.17.7 about statistics
"ipFragFails",found that this counter couldn't increase correctly. The
criteria is RFC2011:
RFC2011
  ipFragFails OBJECT-TYPE
    SYNTAX      Counter32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "The number of IP datagrams that have been discarded because
            they needed to be fragmented at this entity but could not
            be, e.g., because their Don't Fragment flag was set."
    ::= { ip 18 }

When I send big IP packet to a router with DF bit set to 1 which need to
be fragmented, and router just sends an ICMP error message
ICMP_FRAG_NEEDED but no increments for this counter(in the function
ip_fragment).

Signed-off-by: Wei Dong <weid@nanjing-fnst.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-08-31 15:24:48 -07:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge [BRIDGE] netfilter: memory corruption fix 2006-08-26 20:28:30 -07:00
core [NET]: Disallow whitespace in network device names. 2006-08-17 16:29:56 -07:00
dccp [DCCP]: Fix CCID3 2006-08-26 23:40:50 -07:00
decnet
econet
ethernet
ieee80211
ipv4 [IPV4]: Fix SNMPv2 "ipFragFails" counter error 2006-08-31 15:24:48 -07:00
ipv6 [IPV6]: Fix kernel OOPs when setting sticky socket options. 2006-08-31 14:52:17 -07:00
ipx
irda
key
lapb
llc
netfilter [NETFILTER]: ctnetlink: fix deadlock in table dumping 2006-08-17 18:12:38 -07:00
netlink [NETLINK]: Call panic if nl_table allocation fails 2006-08-29 21:22:18 -07:00
netrom
packet
rose
rxrpc
sched
sctp [SCTP]: Fix sctp_primitive_ABORT() call in sctp_close(). 2006-08-29 21:22:13 -07:00
sunrpc NFS: Check lengths more thoroughly in NFS4 readdir XDR decode 2006-08-24 15:53:34 -04:00
tipc
unix
wanrouter
x25
xfrm
Kconfig
Makefile
TUNABLE
compat.c
nonet.c
socket.c [NET]: Rate limiting for socket allocation failure messages. 2006-08-31 15:21:50 -07:00
sysctl_net.c