From: David Miller <davem@davemloft.net>
To: taoren@fb.com
Cc: maximmi@mellanox.com, bgolaszewski@baylibre.com,
sam@mendozajonas.com, jakub.kicinski@netronome.com,
joel@jms.id.au, andrew@aj.id.au, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org
Subject: Re: [PATCH net v4] net/ncsi: handle overflow when incrementing mac address
Date: Tue, 23 Apr 2019 21:16:18 -0700 (PDT) [thread overview]
Message-ID: <20190423.211618.1009243431874480506.davem@davemloft.net> (raw)
In-Reply-To: <20190424014310.24253-1-taoren@fb.com>
From: Tao Ren <taoren@fb.com>
Date: Wed, 24 Apr 2019 01:43:32 +0000
> Previously BMC's MAC address is calculated by simply adding 1 to the
> last byte of network controller's MAC address, and it produces incorrect
> result when network controller's MAC address ends with 0xFF.
>
> The problem can be fixed by calling eth_addr_inc() function to increment
> MAC address; besides, the MAC address is also validated before assigning
> to BMC.
>
> Fixes: cb10c7c0dfd9 ("net/ncsi: Add NCSI Broadcom OEM command")
> Signed-off-by: Tao Ren <taoren@fb.com>
Applied and queued up for -stable, thanks everyone.
prev parent reply other threads:[~2019-04-24 4:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-24 1:43 Tao Ren
2019-04-24 1:44 ` Jakub Kicinski
2019-04-24 3:49 ` Samuel Mendoza-Jonas
2019-04-24 4:16 ` 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=20190423.211618.1009243431874480506.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrew@aj.id.au \
--cc=bgolaszewski@baylibre.com \
--cc=jakub.kicinski@netronome.com \
--cc=joel@jms.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=maximmi@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=sam@mendozajonas.com \
--cc=taoren@fb.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
all inboxes | Powered by JetHome®