[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1320842948.6923.3.camel@Joe-Laptop>
Date: Wed, 09 Nov 2011 04:49:08 -0800
From: Joe Perches <joe@...ches.com>
To: David Miller <davem@...emloft.net>
Cc: steffen.klassert@...unet.com, netdev@...r.kernel.org,
timo.teras@....fi
Subject: Re: dst->obsolete has become pointless
On Tue, 2011-11-08 at 13:59 -0500, David Miller wrote:
> net: Kill pointless and misleading checks on dst->obsolete.
[]
> Therefore rename it to dst->freed, and make it take on only the values
> "0" and "1".
> diff --git a/include/net/dst.h b/include/net/dst.h
[]
> @@ -55,7 +55,7 @@ struct dst_entry {
> #define DST_NOCOUNT 0x0020
>
> short error;
> - short obsolete;
> + unsigned short freed;
perhaps
bool freed;
bool __pad3;
just to mark the available space a bit more obviously.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists