From: Stephen Hemminger <stephen@networkplumber.org>
To: netdev@vger.kernel.org
Subject: Fw: [Bug 57851] New: a mistake about macro definition of FIB_TABLE_HASHSZ
Date: Fri, 10 May 2013 08:18:54 -0700 [thread overview]
Message-ID: <20130510081854.0c6b95ff@nehalam.linuxnetplumber.net> (raw)
Don't know if this already made it to netdev. Google SMTP had been
flaky and didn't take it yesterday.
Subject: [Bug 57851] New: a mistake about macro definition of FIB_TABLE_HASHSZ
https://bugzilla.kernel.org/show_bug.cgi?id=57851
Summary: a mistake about macro definition of FIB_TABLE_HASHSZ
Product: Networking
Version: 2.5
Kernel Version: 3.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: shemminger@linux-foundation.org
ReportedBy: nosongyang@gmail.com
Regression: No
#ifdef CONFIG_IP_ROUTE_MULTIPATH
#define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel])
#define FIB_TABLE_HASHSZ 2
#else /* CONFIG_IP_ROUTE_MULTIPATH */
#define FIB_RES_NH(res) ((res).fi->fib_nh[0])
#define FIB_TABLE_HASHSZ 256
#endif /* CONFIG_IP_ROUTE_MULTIPATH */
There is a confuse macro definition about the FIB_TABLE_HASHSZ. This mistake
can generate an error, but will affect performance.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next reply other threads:[~2013-05-10 15:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-10 15:18 Stephen Hemminger [this message]
2013-05-10 16:43 ` [Bug 57851] New: a mistake about macro definition of FIB_TABLE_HASHSZ 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=20130510081854.0c6b95ff@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=netdev@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 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).