]> git.baikalelectronics.ru Git - kernel.git/commit
IPv6: Delete redundant counter of IPSTATS_MIB_REASMFAILS
authorShan Wei <shanwei@cn.fujitsu.com>
Thu, 11 Feb 2010 00:12:45 +0000 (00:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 05:49:49 +0000 (21:49 -0800)
commit6aa42023b582c9c80d22a377129d10661d9348f0
treec025fb134016a1af53b601eacf51b37b89932048
parent507bae8360ebe5df9bb6cd21ef3b01ed918d8343
IPv6: Delete redundant counter of IPSTATS_MIB_REASMFAILS

When no more memory can be allocated, fq_find() will return NULL and
increase the value of IPSTATS_MIB_REASMFAILS. In this case,
ipv6_frag_rcv() also increase the value of IPSTATS_MIB_REASMFAILS.

So, the patch deletes redundant counter of IPSTATS_MIB_REASMFAILS in fq_find().
and deletes the unused parameter of idev.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c