Bug 597265 - typo in code of agent/mibgroup/ip-mib/data_access/systemstats_common.c
Summary: typo in code of agent/mibgroup/ip-mib/data_access/systemstats_common.c
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-snmp   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: Karel Srot
Depends On: 584807
TreeView+ depends on / blocked
Reported: 2010-05-28 14:26 UTC by Olivier Fourdan
Modified: 2018-10-27 13:28 UTC (History)
5 users (show)

Fixed In Version: net-snmp-5.5-22.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 584807
Last Closed: 2010-11-10 21:12:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Olivier Fourdan 2010-05-28 14:26:19 UTC
+++ This bug was initially created as a clone of Bug #584807 +++

Created an attachment (id=408321)
Proposed patch

Description of problem:

It seems there's a typo in netsnmp_access_systemstats_entry_update_stats() from agent/mibgroup/ip-mib/data_access/systemstats_common.c

  322         prev_vals->stats.InUnknownProtos = new_vals->stats.InUnknownProtos;
  323         prev_vals->stats.InTruncatedPkts = new_vals->stats.InTruncatedPkts;
  324         prev_vals->stats.ReasmReqds = new_vals->stats.InTruncatedPkts;

Should be prev_vals->stats.ReasmReqds = new_vals->stats.ReasmReqds

Version-Release number of selected component (if applicable):

Reported on net-snmp- but also present in current svn trunk upstream:


(line 324)

How reproducible:
Steps to Reproduce:
Actual results:
Expected results:


Additional info:

Comment 2 RHEL Product and Program Management 2010-05-31 07:55:25 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 3 Jan Safranek 2010-06-01 14:25:58 UTC
I've just fixed it upstream, SVN rev. 18917.

Comment 7 releng-rhel@redhat.com 2010-11-10 21:12:12 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.