netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: bhutchings@solarflare.com
Cc: shemminger@vyatta.com, shodgson@solarflare.com,
	linux-net-drivers@solarflare.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] sfc: make function tables const
Date: Thu, 14 Apr 2011 21:55:24 -0700 (PDT)	[thread overview]
Message-ID: <20110414.215524.104068954.davem@davemloft.net> (raw)
In-Reply-To: <1302799038.2853.5.camel@bwh-desktop>

From: Ben Hutchings <bhutchings@solarflare.com>
Date: Thu, 14 Apr 2011 17:37:18 +0100

> On Thu, 2011-04-14 at 08:50 -0700, Stephen Hemminger wrote:
>> The phy, mac, and board information structures should be const.
> 
> efx_nic_type actually holds information and function pointers about
> different generations of the controller, not different boards.
> 
>> Since tables contain function pointer this improves security
>> (at least theoretically).
>> 
>> Compile tested only.
>> 
>> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
> Acked-by: Ben Hutchings <bhutchings@solarflare.com>

Applied.

      reply	other threads:[~2011-04-15  4:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 15:50 [PATCH net-next] sfc: make function tables const Stephen Hemminger
2011-04-14 16:37 ` Ben Hutchings
2011-04-15  4:55   ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110414.215524.104068954.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=bhutchings@solarflare.com \
    --cc=linux-net-drivers@solarflare.com \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    --cc=shodgson@solarflare.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).