[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160223.192333.2231140701919705299.davem@davemloft.net>
Date: Tue, 23 Feb 2016 19:23:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: mroos@...ux.ee, sparclinux@...r.kernel.org, edumazet@...gle.com,
netdev@...r.kernel.org
Subject: Re: Invalid sk_policy[] access
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Date: Tue, 23 Feb 2016 18:59:46 -0500
> But then it's odd that the struct sizes (esp of things like
> request_sock, which are not config dependant) are not the same.
Every structure that has a lock, or something that contains a lock
(such as a timer or whatever), has a layout which is config dependant.
And I'm pretty sure request_sock falls into this category.
Any number of debug and lock verification config options can control
the layout of spinlock and other core datastructures.
Powered by blists - more mailing lists