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]
Date:	Sat, 23 Jan 2010 19:28:15 +0100
From:	Jiri Pirko <jpirko@...hat.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC, PATCH net-next-2.6] net: introduce a macro to traverse
 through uc_list easily

Sat, Jan 23, 2010 at 11:01:40AM CET, davem@...emloft.net wrote:
>From: Jiri Pirko <jpirko@...hat.com>
>Date: Fri, 22 Jan 2010 16:13:02 +0100
>
>> Therefore that would be good to introduce a macro that can be used to traverse
>> through addresses in the list without caller knowing anything about the type of
>> the list. I think this kind of an abstraction is appropriate on this place.
>> Also during the phase of changing, the macro can use the original list and onc ...
>> What do you think about this? Please comment.
>
>Yes this is the way to do it, three steps:
>
>1) Add interface macros that iterate using the existing
>   datastructure
>
>2) Convert drivers to use #1
>
>3) Convert to list_head
>

Yes, I know the drill. I just wanted to be sure that final macro (kinda ugly)
will be accepted... I'll first make uc_list part (and that's how mc_list part
will lool like finally). Will post soon.

Thanks

Jirka
--
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