Searched hist:"922 c2ac82e37523d1f0efaac8978ef573071d889" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | ip6_fib.c | diff 922c2ac82e37523d1f0efaac8978ef573071d889 Sun Jan 07 04:45:14 CST 2018 Ido Schimmel <idosch@mellanox.com> ipv6: Take table lock outside of sernum update function
The next patch is going to allow dead routes to remain in the FIB tree in certain situations.
When this happens we need to be sure to bump the sernum of the nodes where these are stored so that potential copies cached in sockets are invalidated.
The function that performs this update assumes the table lock is not taken when it is invoked, but that will not be the case when it is invoked by the tree walker.
Have the function assume the lock is taken and make the single caller take the lock itself.
Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | route.c | diff 922c2ac82e37523d1f0efaac8978ef573071d889 Sun Jan 07 04:45:14 CST 2018 Ido Schimmel <idosch@mellanox.com> ipv6: Take table lock outside of sernum update function
The next patch is going to allow dead routes to remain in the FIB tree in certain situations.
When this happens we need to be sure to bump the sernum of the nodes where these are stored so that potential copies cached in sockets are invalidated.
The function that performs this update assumes the table lock is not taken when it is invoked, but that will not be the case when it is invoked by the tree walker.
Have the function assume the lock is taken and make the single caller take the lock itself.
Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|