David Ahern
c7036d97ac
ipv6: Default fib6_type to RTN_UNICAST when not set
...
A user reported that routes are getting installed with type 0 (RTN_UNSPEC)
where before the routes were RTN_UNICAST. One example is from accel-ppp
which apparently still uses the ioctl interface and does not set
rtmsg_type. Another is the netlink interface where ipv6 does not require
rtm_type to be set (v4 does). Prior to the commit in the Fixes tag the
ipv6 stack converted type 0 to RTN_UNICAST, so restore that behavior.
Fixes: e8478e80e5a7 ("net/ipv6: Save route type in rt6_info")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-19 17:14:05 -04:00
..
2019-05-30 11:26:41 -07:00
2019-05-30 11:29:21 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:10 +02:00
2019-05-30 11:26:32 -07:00
2019-06-16 14:22:37 -07:00
2019-05-09 09:44:17 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:29:53 -07:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:22 -07:00
2019-06-07 23:03:54 +02:00
2019-06-05 17:30:29 +02:00
2019-06-18 10:04:16 -07:00
2019-05-30 11:29:52 -07:00
2019-06-05 17:37:17 +02:00
2019-05-24 17:36:42 +02:00
2019-05-21 10:50:46 +02:00
2019-06-07 09:29:14 -07:00
2019-05-30 11:26:32 -07:00
2019-05-23 09:29:44 -07:00
2019-05-30 11:26:41 -07:00
2019-05-21 10:50:46 +02:00
2019-06-18 21:38:07 -04:00
2019-06-19 17:14:05 -04:00
2019-06-19 16:26:33 -04:00
2019-05-21 10:50:46 +02: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-16 20:44:20 -07:00
2019-06-05 17:36:36 +02:00
2019-06-17 15:55:34 -07:00
2019-05-30 11:26:41 -07:00
2019-06-12 09:42:34 -07:00
2019-05-30 11:26:32 -07:00
2019-06-18 21:43:40 -04:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-17 15:55:34 -07:00
2019-05-21 10:50:46 +02:00
2019-06-17 15:55:34 -07:00
2019-06-07 09:29:14 -07:00
2019-06-05 17:37:07 +02:00
2019-05-21 10:50:46 +02:00
2019-06-05 17:36:37 +02:00
2019-06-06 10:32:16 -07:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-18 21:30:38 -04:00
2019-06-14 19:27:24 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-06-08 12:52:42 -07:00
2019-05-30 11:26:32 -07:00
2019-06-18 20:48:45 -04:00
2019-06-12 11:04:35 -07:00
2019-05-30 11:26:32 -07:00
2019-06-18 21:41:12 -04:00
2019-06-05 17:30:29 +02:00
2019-06-17 15:55:34 -07:00
2019-05-24 17:27:12 +02:00
2019-06-12 16:41:47 +02:00
2019-06-05 17:37:06 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:46 +02:00
2019-02-28 08:24:23 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00