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:   Wed, 18 Oct 2017 12:24:53 +0100 (WEST)
From:   David Miller <davem@...emloft.net>
To:     vivien.didelot@...oirfairelinux.com
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        kernel@...oirfairelinux.com, f.fainelli@...il.com, andrew@...n.ch
Subject: Re: [PATCH net-next v2 0/7] net: dsa: master and slave helpers

From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Date: Mon, 16 Oct 2017 11:12:12 -0400

> This patch series adds a few helpers to DSA core for clarity and
> readability but brings no functional changes.
> 
> A dsa_slave_notify helper calls the DSA notifiers when (un)registering a
> slave device.
> 
> Most of the DSA slave code only needs to access the dsa_port structure,
> not the dsa_slave_priv (which only contains a few PHY-specific members).
> Thus a dsa_slave_to_port helper returns a dsa_port structure of a slave
> device.
> 
> A dsa_slave_to_master returns the master device of a slave device.
> 
> After that the netdev member of the dsa_port structure is split into two
> explicit master and slave members to avoid confusion, and a dsa_to_port
> helper is added for switch drivers to get a const reference to a port.
> 
> Changes in v2:
>   - prefer dsa_slave_to_master instead of dsa_slave_get_master
>   - rename dsa_master_get_slave to dsa_master_find_slave
>   - pack master and slave net devices into an anonymous union
>   - add dsa_to_port public helper for switch drivers
>   - add Reviewed-by tags from Florian

Series applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ