From: Mike Christie <michaelc@cs.wisc.edu>
To: Lee Duncan <lduncan@suse.com>, linux-scsi@vger.kernel.org
Cc: hare@suse.de
Subject: Re: [PATCH 2/2] iscsi_ibft: Always display netmask
Date: Tue, 2 Feb 2016 00:45:31 -0600 [thread overview]
Message-ID: <56B0508B.9020003@cs.wisc.edu> (raw)
In-Reply-To: <71c84546d99332f77d1f462d735ec1e38aa1e7ba.1453419653.git.lduncan@suse.com>
On 01/22/2016 01:49 PM, Lee Duncan wrote:
> From: Hannes Reinecke <hare@suse.de>
>
> Some older user-space code might rely on the netmask attribute
> being present, so we should always display it.
> This fixes a regression introduced by commit
> 0b2eb3c4060a16f3ec11a4d6d4c934e7e5d5334f.
>
> Signed-off-by: Hannes Reinecke <hare@suse.de>
> Signed-off-by: Lee Duncan <lduncan@suse.com>
> ---
> drivers/firmware/iscsi_ibft.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c
> index 2dd1fbb8cccc..81037e5fe301 100644
> --- a/drivers/firmware/iscsi_ibft.c
> +++ b/drivers/firmware/iscsi_ibft.c
> @@ -464,14 +464,8 @@ static umode_t ibft_check_nic_for(void *data, int type)
> rc = S_IRUGO;
> break;
> case ISCSI_BOOT_ETH_PREFIX_LEN:
> - if (nic->subnet_mask_prefix)
> - rc = S_IRUGO;
> - break;
> case ISCSI_BOOT_ETH_SUBNET_MASK:
> - if (!memcmp(nic->ip_addr, nulls, 10) &&
> - (nic->ip_addr[10] == 0xff) &&
> - (nic->ip_addr[11] == 0xff) &&
> - nic->subnet_mask_prefix)
> + if (nic->subnet_mask_prefix)
> rc = S_IRUGO;
> break;
> case ISCSI_BOOT_ETH_ORIGIN:
>
Sorry. I thought I sent this mail already.
Is the commit id above supposed to be referencing the first patch? I
could not match it to anything. If so, then shouldn't this patch just be
combined with the second patch and some comment about us always
displaying it for compat reasons added to the code?
Also, you should normally cc Konrad for iscsi_ibft.c patches, because he
is actually the maintainer.
next prev parent reply other threads:[~2016-02-02 6:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 19:49 [PATCH 0/2] RESEND: Enable iBFT IPv6 booting with prefix length Lee Duncan
2016-01-22 19:49 ` [PATCH 1/2] iscsi_ibft: Add prefix-len attribute Lee Duncan
2016-01-22 19:49 ` [PATCH 2/2] iscsi_ibft: Always display netmask Lee Duncan
2016-02-02 6:45 ` Mike Christie [this message]
2016-02-25 16:49 ` Lee Duncan
2016-02-02 1:17 ` [PATCH 0/2] RESEND: Enable iBFT IPv6 booting with prefix length Martin K. Petersen
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=56B0508B.9020003@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=hare@suse.de \
--cc=lduncan@suse.com \
--cc=linux-scsi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.