diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2010-02-11 03:12:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 08:49:49 +0300 |
commit | 9546377c42e12513b33925ab829d893dcf521c5f (patch) | |
tree | c025fb134016a1af53b601eacf51b37b89932048 /net/ipv6/xfrm6_policy.c | |
parent | 564517e804c9c6d4e29c270bfc1517404d27107b (diff) | |
download | linux-9546377c42e12513b33925ab829d893dcf521c5f.tar.xz |
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>
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
0 files changed, 0 insertions, 0 deletions