From: Veaceslav Falico <vfalico@gmail.com>
To: Nikolay Aleksandrov <nikolay@redhat.com>
Cc: netdev@vger.kernel.org, Jay Vosburgh <j.vosburgh@gmail.com>,
Andy Gospodarek <andy@greyhouse.net>
Subject: Re: [PATCH net] bonding: fix out of range parameters for bond_intmax_tbl
Date: Thu, 15 May 2014 13:44:52 +0200 [thread overview]
Message-ID: <20140515114452.GA28950@mikrodark.usersys.redhat.com> (raw)
In-Reply-To: <1400153723-8031-1-git-send-email-nikolay@redhat.com>
On Thu, May 15, 2014 at 01:35:23PM +0200, Nikolay Aleksandrov wrote:
>I've missed to add a NULL entry to the bond_intmax_tbl when I introduced
>it with the conversion of arp_interval so add it now.
>
>CC: Jay Vosburgh <j.vosburgh@gmail.com>
>CC: Veaceslav Falico <vfalico@gmail.com>
Acked-by: Veaceslav Falico <vfalico@gmail.com>
>CC: Andy Gospodarek <andy@greyhouse.net>
>
>Fixes: 7bdb04ed0dbf ("bonding: convert arp_interval to use the new
>option API")
>Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
>---
> drivers/net/bonding/bond_options.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c
>index 724e30fa20b9..832070298446 100644
>--- a/drivers/net/bonding/bond_options.c
>+++ b/drivers/net/bonding/bond_options.c
>@@ -125,6 +125,7 @@ static const struct bond_opt_value bond_fail_over_mac_tbl[] = {
> static const struct bond_opt_value bond_intmax_tbl[] = {
> { "off", 0, BOND_VALFLAG_DEFAULT},
> { "maxval", INT_MAX, BOND_VALFLAG_MAX},
>+ { NULL, -1, 0}
> };
>
> static const struct bond_opt_value bond_lacp_rate_tbl[] = {
>--
>1.8.5.3
>
next prev parent reply other threads:[~2014-05-15 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 11:35 [PATCH net] bonding: fix out of range parameters for bond_intmax_tbl Nikolay Aleksandrov
2014-05-15 11:44 ` Veaceslav Falico [this message]
2014-05-16 3:37 ` David Miller
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=20140515114452.GA28950@mikrodark.usersys.redhat.com \
--to=vfalico@gmail.com \
--cc=andy@greyhouse.net \
--cc=j.vosburgh@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nikolay@redhat.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).