[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200908100933.11676.remi.denis-courmont@nokia.com>
Date: Mon, 10 Aug 2009 09:33:10 +0300
From: "Rémi Denis-Courmont"
<remi.denis-courmont@...ia.com>
To: ext Gerrit Renker <gerrit@....abdn.ac.uk>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [Resent][PATCH 1/2] inet6: Conversion from u8 to int
On Sunday 09 August 2009 21:12:48 ext Gerrit Renker wrote:
> case IPV6_TCLASS:
> val = np->tclass;
> - if (val < 0)
> - val = 0;
> break;
According to the IPv6 API RFC, if val is -1, the kernel shall pick the default
value (which is zero). Are you sure this still works??
--
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki
--
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