[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070104.165735.102614518.davem@davemloft.net>
Date: Thu, 04 Jan 2007 16:57:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: paul.moore@...com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] INET: fix incorrect "inet_sock->is_icsk" assignment
From: "Paul Moore" <paul.moore@...com>
Date: Thu, 04 Jan 2007 15:04:31 -0500
> From: Paul Moore <paul.moore@...com>
>
> The inet_create() and inet6_create() functions incorrectly set the
> inet_sock->is_icsk field. Both functions assume that the is_icsk field is
> large enough to hold at least a INET_PROTOSW_ICSK value when it is actually
> only a single bit. This patch corrects the assignment by doing a boolean
> comparison whose result will safely fit into a single bit field.
>
> Signed-off-by: Paul Moore <paul.moore@...com>
Applied, thanks a lot Paul.
-
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