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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100823.204422.85408087.davem@davemloft.net>
Date:	Mon, 23 Aug 2010 20:44:22 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	xiaosuo@...il.com
Cc:	shemminger@...tta.com, hadi@...erus.ca, tgraf@...hat.com,
	netdev@...r.kernel.org
Subject: Re: [PATCH] tc: add meta match on receive hash

From: Changli Gao <xiaosuo@...il.com>
Date: Tue, 24 Aug 2010 07:25:19 +0800

> On Tue, Aug 24, 2010 at 4:08 AM, Stephen Hemminger
>> @@ -223,6 +223,11 @@ META_COLLECTOR(int_maclen)
>>        dst->value = skb->mac_len;
>>  }
>>
>> +META_COLLECTOR(int_rxhash)
>> +{
>> +       dst->value = skb->rxhash;
>> +}
> 
> How about using skb_get_rxhash instead. It returns the rxhash anyway.

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