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: <1493144517.3041.83.camel@redhat.com>
Date:   Tue, 25 Apr 2017 14:21:57 -0400
From:   Doug Ledford <dledford@...hat.com>
To:     Yuval Shaia <yuval.shaia@...cle.com>,
        Leon Romanovsky <leon@...nel.org>
Cc:     benve@...co.com, dgoodell@...co.com, sean.hefty@...el.com,
        hal.rosenstock@...il.com, monis@...lanox.com, davem@...emloft.net,
        linux-rdma@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v4] {net,IB}/{rxe,usnic}: Utilize generic mac to eui32
 function

On Mon, 2017-04-24 at 18:46 +0300, Yuval Shaia wrote:
> On Tue, Mar 14, 2017 at 07:58:43PM +0200, Leon Romanovsky wrote:
> > 
> > On Tue, Mar 14, 2017 at 04:01:57PM +0200, Yuval Shaia wrote:
> > > 
> > > This logic seems to be duplicated in (at least) three separate
> > > files.
> > > Move it to one place so code can be re-use.
> > > 
> > > Signed-off-by: Yuval Shaia <yuval.shaia@...cle.com>
> > > ---
> > > v0 -> v1:
> > > 	* Add missing #include
> > > 	* Rename to genaddrconf_ifid_eui48
> > > v1 -> v2:
> > > 	* Reset eui[0] to default if dev_id is used
> > > v2 -> v3:
> > > 	* Add helper function to avoid re-setting eui[0] to default if
> > > 	  dev_id is used
> > > v3 -> v4:
> > > 	* Remove RXE wrappers
> > > 	* Remove addrconf_addr_eui48_xor and do the eui[0] ^= 2 in the
> > > 	  basic implementation
> > > ---
> > >  drivers/infiniband/hw/usnic/usnic_common_util.h | 11 +++-------
> > >  drivers/infiniband/sw/rxe/rxe.c                 |  4 +++-
> > >  drivers/infiniband/sw/rxe/rxe_loc.h             |  2 --
> > >  drivers/infiniband/sw/rxe/rxe_net.c             | 28 ---------
> > > ----------------
> > >  drivers/infiniband/sw/rxe/rxe_verbs.c           |  4 +++-
> > >  include/net/addrconf.h                          | 22
> > > +++++++++++++++----
> > >  6 files changed, 27 insertions(+), 44 deletions(-)
> > > 
> > 
> > Thanks, Yuval.
> > Reviewed-by: Leon Romanovsky <leonro@...lanox.com>
> 
> Hi Doug,
> If no more comments on this one can you consider taking it?

It's applied, thanks.

-- 
Doug Ledford <dledford@...hat.com>
    GPG KeyID: B826A3330E572FDD
   
Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ