Sabrina Dubroca
db0b99f59a
ipv6: propagate ipv6_add_dev's error returns out of ipv6_find_idev
...
Currently, ipv6_find_idev returns NULL when ipv6_add_dev fails,
ignoring the specific error value. This results in addrconf_add_dev
returning ENOBUFS in all cases, which is unfortunate in cases such as:
# ip link add dummyX type dummy
# ip link set dummyX mtu 1200 up
# ip addr add 2000::/64 dev dummyX
RTNETLINK answers: No buffer space available
Commit a317a2f19d ("ipv6: fail early when creating netdev named all
or default") introduced error returns in ipv6_add_dev. Before that,
that function would simply return NULL for all failures.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-08-23 14:53:06 -07:00
..
2019-05-30 11:26:32 -07:00
2019-08-08 15:55:10 -07:00
2019-05-22 17:48:43 -07:00
2019-08-23 14:53:06 -07:00
2019-04-27 17:07:21 -04:00
2019-07-03 13:51:54 -07:00
2019-07-11 14:43:25 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 11:28:45 +02:00
2019-07-11 14:43:25 -07:00
2019-07-05 15:01:15 -07:00
2019-07-01 06:16:40 +02:00
2019-07-11 14:43:25 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2017-09-01 20:33:42 -07:00
2019-06-23 13:24:17 -07:00
2019-05-21 10:50:45 +02:00
2019-07-01 10:54:51 -07:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2018-10-24 14:18:16 -07:00
2019-07-18 12:01:43 -07:00
2019-07-11 14:43:25 -07:00
2019-07-24 13:59:25 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-27 21:06:39 -07:00
2019-07-26 14:17:44 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-06 08:34:50 +02:00
2019-05-31 08:34:32 -07:00
2019-05-21 10:50:46 +02:00
2019-04-08 09:15:17 +02:00
2019-06-05 17:37:07 +02:00
2019-05-30 11:26:32 -07:00
2019-06-06 08:34:50 +02:00
2019-06-07 11:00:14 -07:00
2019-06-20 11:59:36 +02:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2019-05-30 11:26:32 -07:00
2019-07-08 19:38:03 -07:00
2019-08-08 15:55:10 -07:00
2019-08-05 13:16:58 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-07-14 12:15:28 -07:00
2019-05-30 11:26:32 -07:00
2019-07-18 17:08:07 -07:00
2019-07-11 14:43:25 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 11:28:45 +02:00
2019-01-17 15:01:08 -08:00
2019-05-30 11:26:32 -07:00
2019-07-08 19:38:03 -07:00
2019-05-30 11:26:32 -07:00
2018-12-19 11:21:37 -08:00
2019-05-30 11:26:32 -07:00
2019-04-23 07:42:20 +02:00
2019-05-30 11:26:32 -07:00
2019-06-06 08:34:50 +02:00
2019-05-21 11:28:45 +02:00