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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Feb 2011 15:13:57 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	kernel@...uxace.com
Cc:	andy@...yhouse.net, netdev@...r.kernel.org,
	bhutchings@...arflare.com, fubar@...ibm.com
Subject: Re: [PATCH 1/2] bonding: fix incorrect transmit queue offset

From: Phil Oester <kernel@...uxace.com>
Date: Wed, 23 Feb 2011 15:08:44 -0800

> On Wed, Feb 23, 2011 at 02:42:49PM -0500, Andy Gospodarek wrote:
>> + * destination queue.  Using a helper function skips the a call to
> 
> s/the a/a/ or s/the a/the/
> 
>> +     while (txq >= dev->real_num_tx_queues) {
>> +             /* let the user know if we do not have enough tx queues */
>> +             if (net_ratelimit())
>> +                     pr_warning("%s selects invalid tx queue %d.  Consider"
>> +                                " setting module option tx_queues > %d.",
>> +                                dev->name, txq, dev->real_num_tx_queues);
>> +             txq -= dev->real_num_tx_queues;
>> +     }
> 
> Think this would be better as a WARN_ONCE, as otherwise syslog will still
> get flooded with this - even when ratelimited.  See get_rps_cpu in 
> net/core/dev.c as an example.o

Agreed.
--
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