Re: [PATCH 0/7] net: core: devname allocation cleanups

2017-11-13 Thread David Miller
From: Rasmus Villemoes Date: Mon, 13 Nov 2017 00:15:03 +0100 > It's somewhat confusing to have both dev_alloc_name and > dev_get_valid_name. I can't see why the former is less strict than the > latter, so make them (or rather dev_alloc_name_ns and > dev_get_valid_name) equivalent, hardening dev_a

Re: [PATCH 0/7] net: core: devname allocation cleanups

2017-11-12 Thread Stephen Hemminger
On Mon, 13 Nov 2017 00:15:03 +0100 Rasmus Villemoes wrote: > It's somewhat confusing to have both dev_alloc_name and > dev_get_valid_name. I can't see why the former is less strict than the > latter, so make them (or rather dev_alloc_name_ns and > dev_get_valid_name) equivalent, hardening dev_all

[PATCH 0/7] net: core: devname allocation cleanups

2017-11-12 Thread Rasmus Villemoes
It's somewhat confusing to have both dev_alloc_name and dev_get_valid_name. I can't see why the former is less strict than the latter, so make them (or rather dev_alloc_name_ns and dev_get_valid_name) equivalent, hardening dev_alloc_name() a little. Obvious follow-up patches would be to only expor