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
| ||
|
Date: Fri, 23 Aug 2013 11:35:03 +0200 From: Bjørn Mork <bjorn@...k.no> To: netdev@...r.kernel.org Cc: Bjørn Mork <bjorn@...k.no>, Patrick McHardy <kaber@...sh.net>, Jiri Pirko <jiri@...nulli.us>, "John W. Linville" <linville@...driver.com>, linux-wireless@...r.kernel.org, Jouni Malinen <j@...fi>, libertas-dev@...ts.infradead.org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, devel@...verdev.osuosl.org, Forest Bond <forest@...ttletooquiet.net> Subject: [PATCH net-next 00/10] set addr_assign_type when inheriting a dev_addr Copying the dev_addr from a parent device is an operation common to a number of drivers. The addr_assign_type should be updated accordingly, either by reusing the value from the source device or explicitly indicating that the address is stolen by setting addr_assign_type to NET_ADDR_STOLEN. This patch set adds a helper copying both the dev_addr and the addr_assign_type, and use this helper in drivers which don't currently set the addr_assign_type. Using NET_ADDR_STOLEN might be more appropriate in some of these cases. Please let me know, and I'll update the patch accordingly. Bjørn Mork (10): net: etherdevice: add address inherit helper net: vlan: inherit addr_assign_type along with dev_addr net: dsa: inherit addr_assign_type along with dev_addr net: macvlan: inherit addr_assign_type along with dev_addr net: team: inherit addr_assign_type along with dev_addr net: airo: inherit addr_assign_type along with dev_addr net: hostap: inherit addr_assign_type along with dev_addr net: libertas: inherit addr_assign_type along with dev_addr staging: vt6655: inherit addr_assign_type along with dev_addr staging: vt6656: inherit addr_assign_type along with dev_addr drivers/net/macvlan.c | 2 +- drivers/net/team/team.c | 2 +- drivers/net/wireless/airo.c | 2 +- drivers/net/wireless/hostap/hostap_hw.c | 2 +- drivers/net/wireless/hostap/hostap_main.c | 2 +- drivers/net/wireless/libertas/mesh.c | 2 +- drivers/staging/vt6655/hostap.c | 2 +- drivers/staging/vt6655/ioctl.c | 2 +- drivers/staging/vt6655/wpactl.c | 2 +- drivers/staging/vt6656/hostap.c | 2 +- include/linux/etherdevice.h | 19 +++++++++++++++++++ net/8021q/vlan_dev.c | 2 +- net/dsa/slave.c | 2 +- 13 files changed, 31 insertions(+), 12 deletions(-) -- 1.7.10.4 -- 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