aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorzhang kai2021-08-23 11:49:00 +0800
committerDavid S. Miller2021-08-24 09:59:01 +0100
commit446e7f218b7662c912c610aae99069543aa88a40 (patch)
tree656f1855f288bc897393da667c8f2ae76b07b7d2 /net
parentb0cd08537db8d2fbb227cdb2e5835209db295a24 (diff)
ipv6: correct comments about fib6_node sernum
correct comments in set and get fn_sernum Signed-off-by: zhang kai <zhangkaiheb@126.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/ip6_fib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index 2d650dc24349..ef75c9b05f17 100644
--- a/net/ipv6/ip6_fib.c
+++ b/net/ipv6/ip6_fib.c
@@ -1341,7 +1341,7 @@ static void __fib6_update_sernum_upto_root(struct fib6_info *rt,
struct fib6_node *fn = rcu_dereference_protected(rt->fib6_node,
lockdep_is_held(&rt->fib6_table->tb6_lock));
- /* paired with smp_rmb() in rt6_get_cookie_safe() */
+ /* paired with smp_rmb() in fib6_get_cookie_safe() */
smp_wmb();
while (fn) {
fn->fn_sernum = sernum;