Files
linux-st/include/net
David Ahern a68886a691 net/ipv6: Make from in rt6_info rcu protected
When a dst entry is created from a fib entry, the 'from' in rt6_info
is set to the fib entry. The 'from' reference is used most notably for
cookie checking - making sure stale dst entries are updated if the
fib entry is changed.

When a fib entry is deleted, the pcpu routes on it are walked releasing
the fib6_info reference. This is needed for the fib6_info cleanup to
happen and to make sure all device references are released in a timely
manner.

There is a race window when a FIB entry is deleted and the 'from' on the
pcpu route is dropped and the pcpu route hits a cookie check. Handle
this race using rcu on from.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-21 16:06:14 -04:00
..
2018-03-23 21:52:19 -04:00
2018-03-04 13:34:18 -05:00
2018-02-06 11:32:48 -05:00
2018-02-28 11:43:28 -05:00
2018-03-04 13:04:22 -05:00
2018-04-19 15:40:13 -04:00
2018-04-17 13:53:13 -04:00
2018-04-17 13:19:22 -04:00
2018-04-07 22:32:31 -04:00
2018-04-05 21:36:24 -07:00
2018-03-31 23:37:32 -04:00
2018-03-31 02:15:54 +02:00
2018-04-17 13:53:13 -04:00