lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120722.122825.10630724642009598.davem@davemloft.net>
Date:	Sun, 22 Jul 2012 12:28:25 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	mgreer@...malcreek.com
Cc:	netdev@...r.kernel.org, jiri@...nulli.us
Subject: Re: [PATCH] rtnl: Add #ifdef CONFIG_RPS around num_rx_queues
 reference

From: "Mark A. Greer" <mgreer@...malcreek.com>
Date: Fri, 20 Jul 2012 16:35:13 -0700

> From: "Mark A. Greer" <mgreer@...malcreek.com>
> 
> Commit 76ff5cc91935c51fcf1a6a99ffa28b97a6e7a884
> (rtnl: allow to specify number of rx and tx queues
> on device creation) added a reference to the net_device
> structure's 'num_rx_queues' member in
> 
> 	net/core/rtnetlink.c:rtnl_fill_ifinfo()
> 
> However, the definition for 'num_rx_queues' is surrounded
> by an '#ifdef CONFIG_RPS' while the new reference to it is
> not.  This causes a compile error when CONFIG_RPS is not
> defined.
> 
> Fix the compile error by surrounding the new reference to
> 'num_rx_queues' by an '#ifdef CONFIG_RPS'.
> 
> CC: Jiri Pirko <jiri@...nulli.us>
> Signed-off-by: Mark A. Greer <mgreer@...malcreek.com>

Applied, thanks Mark.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ