Rasmus Villemoes
87c320e515
net: core: dev_get_valid_name is now the same as dev_alloc_name_ns
...
If name contains a %, it's easy to see that this patch doesn't change
anything (other than eliminate the duplicate dev_valid_name
call). Otherwise, we'll now just spend a little time in snprintf()
copying name to the stack buffer allocated in dev_alloc_name_ns, and do
the __dev_get_by_name using that buffer rather than name.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-14 16:38:46 +09:00
..
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-12 09:17:05 +09:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-10-17 08:09:47 +02:00
2017-11-04 09:26:51 +09:00
2017-09-26 13:36:44 -07:00
2017-11-10 13:41:40 +09:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-14 16:38:46 +09:00
2017-08-09 16:57:38 -07:00
2017-11-04 09:26:51 +09:00
2017-11-11 19:10:06 +09:00
2017-10-18 09:12:40 +01:00
2017-11-14 11:11:45 +09:00
2017-06-16 11:48:40 -04:00
2017-10-25 13:00:27 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2017-11-14 16:18:36 +09:00
2017-11-14 15:46:17 +09:00
2017-11-04 09:26:51 +09:00
2017-07-03 02:31:22 -07:00
2017-11-04 09:26:51 +09:00
2017-11-14 15:45:52 +09:00
2017-11-14 15:45:53 +09:00
2017-10-18 12:39:36 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-11 15:09:44 +09:00
2017-11-08 14:22:50 +09:00
2017-11-02 11:10:55 +01:00
2017-11-13 10:17:13 +09:00
2017-11-01 20:46:41 +09:00
2017-11-10 00:03:39 +01:00
2017-11-08 16:12:33 +09:00
2017-11-13 10:37:07 +09:00
2017-11-14 15:45:52 +09:00
2017-11-14 15:45:53 +09:00
2017-11-01 12:19:03 +09:00
2017-11-10 10:00:18 +09:00
2017-11-12 09:17:05 +09:00
2017-06-13 11:07:51 +02:00
2017-10-22 02:02:26 +01:00
2017-11-14 16:17:38 +09:00
2017-11-13 10:33:07 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-10-25 10:37:11 +09:00
2017-11-04 09:26:51 +09:00
2017-11-10 13:41:40 +09:00
2017-11-11 15:36:05 +09:00
2017-11-14 16:26:35 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-10 10:00:18 +09:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2017-08-16 11:27:52 -07:00