[Top] [All Lists]

Re: [PATCH]snmp6 64-bit counter support in proc.c

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: [PATCH]snmp6 64-bit counter support in proc.c
From: Shirley Ma <mashirle@xxxxxxxxxx>
Date: Wed, 14 Jan 2004 14:52:51 -0800
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, xma@xxxxxxxxxx
In-reply-to: <20031205123133.3743fe39.davem@xxxxxxxxxx>
Organization: IBM Linux
References: <200312021240.PAA01536@xxxxxxxxxxxxxxx> <200312051214.48076.mashirle@xxxxxxxxxx> <20031205123133.3743fe39.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.4.3
> "sizeof(unsigned long)" evaluates to 8 on 64-bit systems,
> yet you assume it always evaluated to 4 as on 32-bit systems.
> Maybe it would be wiser to explicitly use 'u32' and 'u64' for
> the types of the snmp counters?
> This has always been a sore area.

This is the new patch against 2.6.1 kernel.

Shirley Ma
IBM Linux Technology Center

Attachment: linux-2.6.1-ipv6mib2-64.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>