Message ID | 20200826164857.1029764-4-idosch@idosch.org |
---|---|
State | New |
Headers | show |
Series | [net-next,1/7] ipv4: nexthop: Reduce allocation size of 'struct nh_group' | expand |
diff --git a/net/ipv4/nexthop.c b/net/ipv4/nexthop.c index 0823643a7dec..1b736e3e1baa 100644 --- a/net/ipv4/nexthop.c +++ b/net/ipv4/nexthop.c @@ -1098,7 +1098,7 @@ static int insert_nexthop(struct net *net, struct nexthop *new_nh, while (1) { struct nexthop *nh; - next = rtnl_dereference(*pp); + next = *pp; if (!next) break;